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.001124/0.001124, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00121/0.00121, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2452/0.2452, allocations: 29.41 MB / 291.2 MB, free: 2.484 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.854e-06/1.854e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.942e-05, allocations: 2.312 kB / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.00964/0.00967, allocations: 6.701 MB / 323.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00748/0.01715, allocations: 5.122 MB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.01783, allocations: 39.69 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007301/0.02513, allocations: 6.326 MB / 335 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008041/0.02594, allocations: 0.5709 MB / 335.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.02679, allocations: 0.5221 MB / 336.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.02877, allocations: 2.416 MB / 338.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000759/0.02953, allocations: 0.9137 MB / 339.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008307/0.03036, allocations: 0.8612 MB / 340.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.03095, allocations: 0.6467 MB / 341 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.03106, allocations: 100 kB / 341.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.03142, allocations: 307.5 kB / 341.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.03174, allocations: 0.5182 MB / 341.9 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.03203, allocations: 407.1 kB / 342.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.03298, allocations: 1.106 MB / 343.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.03298, allocations: 0 / 343.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.03298, allocations: 0 / 343.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.03299, allocations: 0 / 343.4 MB, free: 5.359 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.001522/0.03452, allocations: 1.323 MB / 344.7 MB, free: 4.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.03455, allocations: 15.92 kB / 344.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.03501, allocations: 200.6 kB / 344.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.03582, allocations: 0.7099 MB / 345.6 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.03586, allocations: 61.98 kB / 345.7 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.03596, allocations: 91.92 kB / 345.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.03669, allocations: 0.7708 MB / 346.5 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.03671, allocations: 3.938 kB / 346.5 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.03678, allocations: 43.98 kB / 346.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.03691, allocations: 85.94 kB / 346.7 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.03736, allocations: 336.3 kB / 347 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.04041, allocations: 3.645 MB / 350.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.04077, allocations: 325 kB / 351 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.04094, allocations: 131.2 kB / 351.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.04097, allocations: 16.5 kB / 351.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.04123, allocations: 259.6 kB / 351.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.523e-06/0.04123, allocations: 0 / 351.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.001635/0.04286, allocations: 1.128 MB / 352.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.04291, allocations: 111.5 kB / 352.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.04333, allocations: 0.63 MB / 353.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.04337, allocations: 37.7 kB / 353.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.04356, allocations: 445 kB / 353.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.0437, allocations: 245.9 kB / 353.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.04387, allocations: 178.5 kB / 354.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.04399, allocations: 394.6 kB / 354.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.04413, allocations: 112.8 kB / 354.6 MB, free: 9.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.0444, allocations: 423.3 kB / 355 MB, free: 9.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.04489, allocations: 0.5778 MB / 355.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.04489, allocations: 12 kB / 355.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001018/0.04591, allocations: 0.7952 MB / 356.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.04593, allocations: 12 kB / 356.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.04594, allocations: 8 kB / 356.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008001/0.04674, allocations: 403.4 kB / 356.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.04704, allocations: 163.7 kB / 357 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/0.05057, allocations: 4.146 MB / 361.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.05082, allocations: 32 kB / 361.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.05086, allocations: 32 kB / 361.2 MB, free: 2.59 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.0001765/0.05104, allocations: 176.3 kB / 361.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.05112, allocations: 67.94 kB / 361.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005936/0.05171, allocations: 0.4931 MB / 361.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.05172, allocations: 8 kB / 361.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.05172, allocations: 4 kB / 361.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.05173, allocations: 3.984 kB / 361.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.05294, allocations: 1.043 MB / 363 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.05294, allocations: 0 / 363 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.05326, allocations: 116 kB / 363.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.05349, allocations: 126.9 kB / 363.2 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.05352, allocations: 19.98 kB / 363.2 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.05536, allocations: 3.786 MB / 367 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.05536, allocations: 0 / 367 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.05611, allocations: 0.7391 MB / 367.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.05624, allocations: 111.4 kB / 367.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.0563, allocations: 20 kB / 367.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.05647, allocations: 27.86 kB / 367.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.05655, allocations: 44.41 kB / 368 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.05658, allocations: 19.98 kB / 368 MB, free: 11.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.05678, allocations: 268.5 kB / 368.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05678, allocations: 0 / 368.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005816/0.05736, allocations: 275.9 kB / 368.5 MB, free: 10.84 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.001276/0.05864, allocations: 0.5907 MB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009696/0.05961, allocations: 0.8618 MB / 370 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.05962, allocations: 8.5 kB / 370 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.06013, allocations: 0.6065 MB / 370.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.06064, allocations: 210.6 kB / 370.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.06299, allocations: 1.919 MB / 372.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.0632, allocations: 272.7 kB / 373 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.06346, allocations: 115 kB / 373.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.06377, allocations: 221.2 kB / 373.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.06377, allocations: 0 / 373.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of Templates: time 0.02131/0.08508, allocations: 14.96 MB / 388.3 MB, free: 7.48 MB / 362.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.6191000887192786]