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.0009796/0.0009796, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001114/0.001114, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.087/1.087, allocations: 177.1 MB / 205 MB, free: 5.586 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.2372/0.2372, allocations: 29.42 MB / 290.9 MB, free: 2.426 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 2.314e-06/2.314e-06, allocations: 0 / 369.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.628e-05, allocations: 2.312 kB / 369.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.008684/0.00872, allocations: 6.764 MB / 376.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007124/0.01584, allocations: 5.079 MB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.01628, allocations: 39.69 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00808/0.02436, allocations: 6.561 MB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008722/0.02523, allocations: 0.5709 MB / 388.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.02614, allocations: 0.5182 MB / 389.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.02834, allocations: 2.436 MB / 391.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.02917, allocations: 0.8884 MB / 392.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008499/0.03002, allocations: 0.8689 MB / 393.4 MB, free: 3.125 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007639/0.03078, allocations: 0.6774 MB / 394.1 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.03091, allocations: 100 kB / 394.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.03137, allocations: 307.5 kB / 394.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.03172, allocations: 0.5143 MB / 395 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.03204, allocations: 407.1 kB / 395.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.03312, allocations: 1.106 MB / 396.5 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.03312, allocations: 0 / 396.5 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03312, allocations: 0 / 396.5 MB, free: 28 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.03314, allocations: 4 kB / 396.5 MB, free: 24 kB / 362.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.001789/0.03493, allocations: 1.53 MB / 398 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.03496, allocations: 11.98 kB / 398 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.03553, allocations: 264 kB / 398.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.03649, allocations: 0.8687 MB / 399.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.03653, allocations: 62 kB / 399.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.03665, allocations: 83.98 kB / 399.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.03759, allocations: 0.8848 MB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.03762, allocations: 3.953 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.03767, allocations: 35.94 kB / 400.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.0378, allocations: 89.94 kB / 400.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.03848, allocations: 451.4 kB / 400.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.04226, allocations: 4.886 MB / 405.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.04276, allocations: 352.6 kB / 406 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.04301, allocations: 176.7 kB / 406.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.04305, allocations: 16.48 kB / 406.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.04339, allocations: 296.2 kB / 406.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.793e-06/0.04339, allocations: 0 / 406.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002451/0.04584, allocations: 1.604 MB / 408.1 MB, free: 3.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.04589, allocations: 111.5 kB / 408.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.04658, allocations: 0.7139 MB / 408.9 MB, free: 3.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.04662, allocations: 37.7 kB / 408.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.04689, allocations: 0.573 MB / 409.5 MB, free: 2.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.04704, allocations: 257.9 kB / 409.7 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.04725, allocations: 188.2 kB / 409.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.04743, allocations: 0.582 MB / 410.5 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.04766, allocations: 149.9 kB / 410.6 MB, free: 1.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.04814, allocations: 0.5736 MB / 411.2 MB, free: 0.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.04886, allocations: 0.7573 MB / 412 MB, free: 15.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.04886, allocations: 0 / 412 MB, free: 15.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001684/0.05055, allocations: 1.046 MB / 413 MB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.05057, allocations: 12 kB / 413 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.05058, allocations: 8 kB / 413 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009609/0.05154, allocations: 435.3 kB / 413.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.05187, allocations: 167.7 kB / 413.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/0.05644, allocations: 5.568 MB / 419.2 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.05672, allocations: 43.97 kB / 419.2 MB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.05678, allocations: 44 kB / 419.3 MB, free: 8.035 MB / 394.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.0001927/0.05697, allocations: 216.2 kB / 419.5 MB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/0.05707, allocations: 111.4 kB / 419.6 MB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.05791, allocations: 0.6219 MB / 420.2 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.05791, allocations: 4 kB / 420.2 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.05792, allocations: 8 kB / 420.2 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.05793, allocations: 3.984 kB / 420.2 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.05965, allocations: 1.435 MB / 421.7 MB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.05966, allocations: 4 kB / 421.7 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.06002, allocations: 123.8 kB / 421.8 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.06028, allocations: 131 kB / 421.9 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.06033, allocations: 23.98 kB / 422 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/0.06297, allocations: 5.462 MB / 427.4 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.06298, allocations: 4 kB / 427.4 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.06405, allocations: 0.9405 MB / 428.4 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.0642, allocations: 123.4 kB / 428.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.06426, allocations: 20 kB / 428.5 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.06445, allocations: 27.97 kB / 428.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.06456, allocations: 52.34 kB / 428.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.06459, allocations: 27.98 kB / 428.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003529/0.06495, allocations: 419 kB / 429 MB, free: 13.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.06495, allocations: 0 / 429 MB, free: 13.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006689/0.06562, allocations: 279.9 kB / 429.3 MB, free: 13.5 MB / 410.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.001131/0.06675, allocations: 494.6 kB / 429.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.06803, allocations: 1.075 MB / 430.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.06803, allocations: 0 / 430.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.06867, allocations: 0.81 MB / 431.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.06923, allocations: 193.2 kB / 431.8 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.07203, allocations: 2.165 MB / 434 MB, free: 8.785 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.07225, allocations: 284.6 kB / 434.3 MB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.07261, allocations: 198.9 kB / 434.5 MB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.07274, allocations: 64.48 kB / 434.5 MB, free: 8.223 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.07274, allocations: 0 / 434.5 MB, free: 8.223 MB / 410.7 MB Notification: Performance of Templates: time 0.1576/0.2304, allocations: 14.65 MB / 449.2 MB, free: 94.03 MB / 410.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 -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.766171504277736]