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.0009636/0.0009636, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00185/0.00185, allocations: 172.2 kB / 24.82 MB, free: 8.922 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.271/0.271, allocations: 29.42 MB / 291.2 MB, free: 2.395 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.462e-06/1.462e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.959e-05, allocations: 6.25 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006087/0.006107, allocations: 6.67 MB / 376.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.01227, allocations: 5.011 MB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.01287, allocations: 39.69 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007968/0.02084, allocations: 6.506 MB / 388.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.02243, allocations: 0.5709 MB / 388.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.02347, allocations: 0.5181 MB / 389.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.02593, allocations: 2.44 MB / 391.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.02699, allocations: 0.9001 MB / 392.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.02821, allocations: 0.8602 MB / 393.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/0.02906, allocations: 0.6779 MB / 394.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.02921, allocations: 100 kB / 394.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006361/0.02985, allocations: 319.5 kB / 394.7 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.03022, allocations: 0.5143 MB / 395.2 MB, free: 1.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.03061, allocations: 415 kB / 395.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.0318, allocations: 1.094 MB / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.03181, allocations: 3.938 kB / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.03181, allocations: 0 / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.03183, allocations: 0 / 396.7 MB, free: 15.97 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.001728/0.03356, allocations: 1.487 MB / 398.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.0336, allocations: 11.98 kB / 398.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.03414, allocations: 244 kB / 398.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.03511, allocations: 0.8296 MB / 399.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.03515, allocations: 61.98 kB / 399.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.03525, allocations: 83.98 kB / 399.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.03612, allocations: 0.8144 MB / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.03615, allocations: 11.88 kB / 400.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.0362, allocations: 28 kB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.03634, allocations: 89.95 kB / 400.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.03682, allocations: 361.4 kB / 400.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.04079, allocations: 4.827 MB / 405.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.04123, allocations: 308.6 kB / 405.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.04142, allocations: 148.9 kB / 406 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.04147, allocations: 16.48 kB / 406 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.0418, allocations: 272.1 kB / 406.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.904e-06/0.0418, allocations: 0 / 406.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002035/0.04384, allocations: 1.22 MB / 407.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.04388, allocations: 111.5 kB / 407.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.04442, allocations: 0.7018 MB / 408.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.04446, allocations: 37.7 kB / 408.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.04474, allocations: 0.5806 MB / 408.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.04487, allocations: 253.9 kB / 409.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.04505, allocations: 196.1 kB / 409.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.04524, allocations: 0.5897 MB / 410 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.0454, allocations: 113.9 kB / 410.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.04575, allocations: 0.5461 MB / 410.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.04632, allocations: 0.7024 MB / 411.3 MB, free: 488 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.04632, allocations: 4 kB / 411.3 MB, free: 484 kB / 378.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001309/0.04763, allocations: 0.9563 MB / 412.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.04766, allocations: 8 kB / 412.3 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.04767, allocations: 8 kB / 412.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.04869, allocations: 415 kB / 412.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.04902, allocations: 159.7 kB / 412.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.05368, allocations: 5.377 MB / 418.2 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.05416, allocations: 32 kB / 418.3 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.05422, allocations: 39.98 kB / 418.3 MB, free: 9.234 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.0003007/0.05452, allocations: 208.3 kB / 418.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.05463, allocations: 107.4 kB / 418.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.05541, allocations: 0.5828 MB / 419.2 MB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.05542, allocations: 8 kB / 419.2 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.05542, allocations: 4 kB / 419.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.05543, allocations: 3.984 kB / 419.2 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.05706, allocations: 1.232 MB / 420.4 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.05707, allocations: 0 / 420.4 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.05742, allocations: 111.9 kB / 420.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.0577, allocations: 131 kB / 420.7 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.05774, allocations: 23.92 kB / 420.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.06038, allocations: 5.382 MB / 426.1 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.06038, allocations: 4 kB / 426.1 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.06138, allocations: 0.8585 MB / 427 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.0616, allocations: 127.4 kB / 427.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.06166, allocations: 12 kB / 427.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.06185, allocations: 19.98 kB / 427.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.06194, allocations: 56.41 kB / 427.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.06197, allocations: 19.98 kB / 427.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003041/0.06227, allocations: 398.8 kB / 427.6 MB, free: 15.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.06227, allocations: 0 / 427.6 MB, free: 15.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008685/0.06314, allocations: 283.9 kB / 427.9 MB, free: 15.19 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.0009531/0.0641, allocations: 478.7 kB / 428.3 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.06537, allocations: 1.027 MB / 429.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.06537, allocations: 0 / 429.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.06596, allocations: 0.7722 MB / 430.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.0666, allocations: 186 kB / 430.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.06953, allocations: 2.156 MB / 432.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.06977, allocations: 280.6 kB / 432.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003586/0.07013, allocations: 123 kB / 432.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.07046, allocations: 258.1 kB / 433.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.07046, allocations: 0 / 433.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of Templates: time 0.1569/0.2273, allocations: 14.95 MB / 448 MB, free: 92.6 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: 3.6243032128550112]