Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.001977/0.001977, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001986/0.001986, allocations: 165.3 kB / 24.28 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3102/0.3102, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.405e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01176/0.01179, allocations: 7.481 MB / 376.4 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.02249, allocations: 5.192 MB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009736/0.02346, allocations: 39.69 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01497/0.03843, allocations: 6.646 MB / 388.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.04112, allocations: 0.7655 MB / 389 MB, free: 7.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.04302, allocations: 0.5572 MB / 389.6 MB, free: 6.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00516/0.04818, allocations: 2.795 MB / 392.4 MB, free: 3.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.05023, allocations: 1.174 MB / 393.5 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.0521, allocations: 1.075 MB / 394.6 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.05362, allocations: 0.9196 MB / 395.5 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.0539, allocations: 144 kB / 395.7 MB, free: 448 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.05542, allocations: 0.7098 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000829/0.05625, allocations: 0.7014 MB / 397.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.05706, allocations: 0.53 MB / 397.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.06043, allocations: 2.38 MB / 400 MB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.06043, allocations: 0 / 400 MB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06043, allocations: 0 / 400 MB, free: 12.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.06046, allocations: 0 / 400 MB, free: 12.11 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.004717/0.06518, allocations: 2.131 MB / 402.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.06523, allocations: 15.98 kB / 402.1 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.06632, allocations: 323.8 kB / 402.5 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.06872, allocations: 0.977 MB / 403.4 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.06903, allocations: 341.3 kB / 403.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.06927, allocations: 111.9 kB / 403.9 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.07198, allocations: 1.348 MB / 405.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.07201, allocations: 4 kB / 405.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.07215, allocations: 43.98 kB / 405.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/0.07247, allocations: 129.8 kB / 405.4 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.07448, allocations: 0.8195 MB / 406.2 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.08453, allocations: 5.766 MB / 412 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.08624, allocations: 0.5952 MB / 412.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.08717, allocations: 337.6 kB / 412.9 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-05/0.08726, allocations: 28.98 kB / 412.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.08866, allocations: 0.6636 MB / 413.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 2.845e-06/0.08866, allocations: 0 / 413.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=119): time 0.007694/0.09636, allocations: 2.704 MB / 416.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.09647, allocations: 127.8 kB / 416.4 MB, free: 11.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.09774, allocations: 0.8859 MB / 417.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.09786, allocations: 61.62 kB / 417.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/0.09852, allocations: 0.6208 MB / 418 MB, free: 9.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004968/0.09902, allocations: 464.5 kB / 418.4 MB, free: 9.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.09956, allocations: 308.5 kB / 418.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005223/0.1001, allocations: 0.6835 MB / 419.4 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/0.1008, allocations: 360.8 kB / 419.8 MB, free: 7.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.1021, allocations: 0.8162 MB / 420.6 MB, free: 6.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.1041, allocations: 1.101 MB / 421.7 MB, free: 5.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.1041, allocations: 3.984 kB / 421.7 MB, free: 5.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003772/0.1079, allocations: 1.551 MB / 423.3 MB, free: 3.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/0.108, allocations: 65.73 kB / 423.3 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.108, allocations: 4 kB / 423.3 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.1095, allocations: 359 kB / 423.7 MB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.1105, allocations: 219.7 kB / 423.9 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009019/0.1195, allocations: 5.48 MB / 429.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.1207, allocations: 79.92 kB / 429.4 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/0.1211, allocations: 87.98 kB / 429.5 MB, free: 13.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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 {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.1221, allocations: 324.2 kB / 429.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.1227, allocations: 147.3 kB / 430 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.126, allocations: 1.112 MB / 431.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/0.1261, allocations: 23.98 kB / 431.1 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1261, allocations: 4 kB / 431.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.1261, allocations: 3.984 kB / 431.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006326/0.1324, allocations: 2.415 MB / 433.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1324, allocations: 0 / 433.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.1335, allocations: 175.7 kB / 433.7 MB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006084/0.1341, allocations: 143 kB / 433.9 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.1342, allocations: 35.95 kB / 433.9 MB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005892/0.1401, allocations: 5.579 MB / 439.5 MB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1401, allocations: 0 / 439.5 MB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.1449, allocations: 1.658 MB / 441.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/0.1456, allocations: 211.4 kB / 441.3 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.1459, allocations: 79.94 kB / 441.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/0.1468, allocations: 87.88 kB / 441.5 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.147, allocations: 84.78 kB / 441.6 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.1471, allocations: 43.97 kB / 441.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008402/0.148, allocations: 0.4912 MB / 442.1 MB, free: 260 kB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.148, allocations: 0 / 442.1 MB, free: 260 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1582/0.3062, allocations: 373 kB / 442.5 MB, free: 106.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.003261/0.3095, allocations: 0.5943 MB / 443.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.3124, allocations: 1.664 MB / 444.7 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3124, allocations: 0 / 444.7 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.3139, allocations: 1.051 MB / 445.8 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.315, allocations: 222.8 kB / 446 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.3189, allocations: 2.689 MB / 448.7 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.3195, allocations: 0.6448 MB / 449.3 MB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000636/0.3201, allocations: 226 kB / 449.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.3204, allocations: 79.36 kB / 449.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3204, allocations: 7.766 kB / 449.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02818/0.3486, allocations: 18.01 MB / 467.7 MB, free: 102.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.90384282602463]