Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.002057/0.002057, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002022/0.002022, allocations: 161.3 kB / 24.27 MB, free: 152 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3357/0.3357, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.641e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01103/0.01105, allocations: 7.175 MB / 376.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02119, allocations: 5.052 MB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/0.02198, allocations: 39.69 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01521/0.03719, allocations: 6.626 MB / 387.8 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.03909, allocations: 0.5787 MB / 388.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.04062, allocations: 0.5026 MB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.04499, allocations: 2.44 MB / 391.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.04637, allocations: 0.8845 MB / 392.2 MB, free: 3.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.0478, allocations: 0.8489 MB / 393 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.0492, allocations: 0.6974 MB / 393.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.0494, allocations: 100 kB / 393.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008092/0.05021, allocations: 307.5 kB / 394.1 MB, free: 1.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000656/0.05086, allocations: 0.5221 MB / 394.6 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.05147, allocations: 415.1 kB / 395 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.05376, allocations: 1.644 MB / 396.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.05377, allocations: 12 kB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.05377, allocations: 0 / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.05379, allocations: 0 / 396.7 MB, free: 15.39 MB / 378.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.00338/0.05717, allocations: 1.612 MB / 398.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.05721, allocations: 11.98 kB / 398.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/0.05814, allocations: 268 kB / 398.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.06031, allocations: 0.8602 MB / 399.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.06038, allocations: 61.98 kB / 399.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.06055, allocations: 83.98 kB / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.06233, allocations: 0.9981 MB / 400.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/0.06259, allocations: 15.94 kB / 400.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/0.06269, allocations: 31.98 kB / 400.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.06293, allocations: 89.95 kB / 400.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.06423, allocations: 0.5618 MB / 401.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007824/0.07205, allocations: 5.26 MB / 406.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.07291, allocations: 392.5 kB / 406.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.07338, allocations: 201 kB / 407.1 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.07344, allocations: 20.38 kB / 407.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.07407, allocations: 344.2 kB / 407.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.07407, allocations: 0 / 407.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.004515/0.07859, allocations: 1.74 MB / 409.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.07868, allocations: 119.4 kB / 409.3 MB, free: 2.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.07988, allocations: 0.8781 MB / 410.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.07994, allocations: 41.7 kB / 410.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/0.08052, allocations: 0.6119 MB / 410.9 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.0808, allocations: 266 kB / 411.1 MB, free: 440 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003677/0.08117, allocations: 224.2 kB / 411.3 MB, free: 208 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004566/0.08162, allocations: 0.6328 MB / 412 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.08205, allocations: 185.9 kB / 412.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.08297, allocations: 0.6439 MB / 412.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.08435, allocations: 0.8665 MB / 413.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.08436, allocations: 4 kB / 413.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003006/0.08736, allocations: 1.132 MB / 414.8 MB, free: 12.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.08739, allocations: 8 kB / 414.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.0874, allocations: 8 kB / 414.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.08926, allocations: 459.3 kB / 415.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.0899, allocations: 167.7 kB / 415.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009223/0.09912, allocations: 5.904 MB / 421.3 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.09978, allocations: 44.05 kB / 421.4 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.09987, allocations: 47.98 kB / 421.4 MB, free: 5.492 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.0004556/0.1003, allocations: 264.2 kB / 421.7 MB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1005, allocations: 107.4 kB / 421.8 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.1024, allocations: 0.6766 MB / 422.5 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1024, allocations: 8 kB / 422.5 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1024, allocations: 4 kB / 422.5 MB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1024, allocations: 3.984 kB / 422.5 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.106, allocations: 1.662 MB / 424.1 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.106, allocations: 0 / 424.1 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.1067, allocations: 123.8 kB / 424.3 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005796/0.1073, allocations: 147 kB / 424.4 MB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.1074, allocations: 23.98 kB / 424.4 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.113, allocations: 5.579 MB / 430 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.113, allocations: 4 kB / 430 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.1151, allocations: 1.046 MB / 431.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.1155, allocations: 131.4 kB / 431.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1156, allocations: 23.98 kB / 431.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.116, allocations: 27.97 kB / 431.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.1162, allocations: 60.28 kB / 431.3 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.1162, allocations: 27.92 kB / 431.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007635/0.117, allocations: 0.4951 MB / 431.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.117, allocations: 0 / 431.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001119/0.1181, allocations: 283.9 kB / 432.1 MB, free: 10.28 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.002866/0.121, allocations: 0.5045 MB / 432.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.1235, allocations: 1.188 MB / 433.8 MB, free: 8.754 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1235, allocations: 0 / 433.8 MB, free: 8.754 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.1249, allocations: 0.8493 MB / 434.6 MB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.126, allocations: 187.5 kB / 434.8 MB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.1303, allocations: 2.198 MB / 437 MB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.1311, allocations: 0.5293 MB / 437.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005795/0.1316, allocations: 194.9 kB / 437.7 MB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.1319, allocations: 68.48 kB / 437.8 MB, free: 4.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1319, allocations: 0 / 437.8 MB, free: 4.59 MB / 410.7 MB Notification: Performance of Templates: time 0.1529/0.2848, allocations: 14.18 MB / 452 MB, free: 106 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.655929050059058]