Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 174.6 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2311/0.2311, allocations: 29.43 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.53e-05, allocations: 7.844 kB / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01178/0.01181, allocations: 6.741 MB / 323.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.02598, allocations: 5.126 MB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.02987, allocations: 43.62 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.04628, allocations: 6.33 MB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.04826, allocations: 0.5631 MB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.04977, allocations: 0.5065 MB / 336.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003912/0.05368, allocations: 2.42 MB / 338.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.05511, allocations: 0.902 MB / 339.5 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.05679, allocations: 0.8456 MB / 340.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.05803, allocations: 0.6506 MB / 341 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.05824, allocations: 100 kB / 341.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008933/0.05913, allocations: 311.5 kB / 341.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005938/0.05973, allocations: 0.526 MB / 342 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.06036, allocations: 407.1 kB / 342.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.06189, allocations: 1.106 MB / 343.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.0619, allocations: 0 / 343.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.0619, allocations: 0 / 343.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.151e-05/0.06196, allocations: 0 / 343.5 MB, free: 5.262 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002444/0.0644, allocations: 1.323 MB / 344.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.06444, allocations: 15.98 kB / 344.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.06517, allocations: 196.7 kB / 345 MB, free: 3.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.0664, allocations: 0.7098 MB / 345.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.06646, allocations: 61.98 kB / 345.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.06686, allocations: 91.94 kB / 345.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.06774, allocations: 0.7708 MB / 346.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.06777, allocations: 7.922 kB / 346.6 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.06784, allocations: 43.92 kB / 346.7 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.06797, allocations: 81.95 kB / 346.8 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.06848, allocations: 344.4 kB / 347.1 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.07234, allocations: 3.629 MB / 350.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.07275, allocations: 329.9 kB / 351 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.07292, allocations: 131.2 kB / 351.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.07296, allocations: 20.48 kB / 351.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.07327, allocations: 263.5 kB / 351.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.424e-06/0.07327, allocations: 4 kB / 351.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.00212/0.07539, allocations: 1.12 MB / 352.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.07546, allocations: 111.5 kB / 352.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.07615, allocations: 0.6261 MB / 353.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.07619, allocations: 41.7 kB / 353.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.07639, allocations: 449 kB / 353.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.07657, allocations: 245.9 kB / 354 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.07676, allocations: 178.5 kB / 354.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.07688, allocations: 398.6 kB / 354.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.07704, allocations: 108.8 kB / 354.7 MB, free: 9.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.07744, allocations: 419.3 kB / 355.1 MB, free: 9.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.07798, allocations: 0.5857 MB / 355.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.07798, allocations: 4 kB / 355.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001176/0.07916, allocations: 0.7954 MB / 356.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.07918, allocations: 15.98 kB / 356.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.0792, allocations: 8 kB / 356.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009674/0.08016, allocations: 403.1 kB / 356.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.08055, allocations: 178.9 kB / 357.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.08497, allocations: 4.174 MB / 361.3 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.08532, allocations: 31.98 kB / 361.3 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.08537, allocations: 36 kB / 361.3 MB, free: 2.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.08561, allocations: 168.4 kB / 361.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.0857, allocations: 79.86 kB / 361.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.08636, allocations: 497 kB / 362 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.08637, allocations: 4 kB / 362.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.08637, allocations: 8 kB / 362.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.08638, allocations: 3.984 kB / 362.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.08776, allocations: 1.039 MB / 363.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.08776, allocations: 0 / 363.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.08817, allocations: 136.4 kB / 363.2 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.08842, allocations: 119 kB / 363.4 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.08847, allocations: 27.92 kB / 363.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.09075, allocations: 3.8 MB / 367.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.09075, allocations: 3.984 kB / 367.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.0916, allocations: 0.7254 MB / 367.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.09177, allocations: 115.3 kB / 368 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.09183, allocations: 23.98 kB / 368 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.09202, allocations: 20 kB / 368.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.09213, allocations: 52.33 kB / 368.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.09216, allocations: 16 kB / 368.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.09238, allocations: 272.5 kB / 368.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09238, allocations: 0 / 368.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007392/0.09311, allocations: 271.9 kB / 368.7 MB, free: 10.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.0944, allocations: 0.5978 MB / 369.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.09551, allocations: 0.8698 MB / 370.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-05/0.09554, allocations: 8.5 kB / 370.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.09606, allocations: 0.6062 MB / 370.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.09662, allocations: 206.9 kB / 370.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.09919, allocations: 1.912 MB / 372.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.09942, allocations: 276.6 kB / 373.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.09972, allocations: 119 kB / 373.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.1, allocations: 213.2 kB / 373.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1, allocations: 4 kB / 373.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of Templates: time 0.01989/0.1199, allocations: 15.01 MB / 388.5 MB, free: 7.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.353066097944975]