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.0008643/0.0008643, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001754/0.001754, allocations: 174.1 kB / 24.92 MB, free: 9.188 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.092/1.092, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2667/0.2667, allocations: 29.41 MB / 291.2 MB, free: 2.48 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.383e-06/1.383e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.397e-05, allocations: 4 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.006389/0.006413, allocations: 6.861 MB / 323.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007434/0.01385, allocations: 5.266 MB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009195/0.01477, allocations: 39.69 kB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008366/0.02313, allocations: 6.213 MB / 335.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.02475, allocations: 0.7421 MB / 336 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.02581, allocations: 0.5572 MB / 336.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.02833, allocations: 2.771 MB / 339.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.02991, allocations: 1.213 MB / 340.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.0312, allocations: 1.08 MB / 341.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.03229, allocations: 0.8651 MB / 342.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.03251, allocations: 140 kB / 342.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.03355, allocations: 0.7293 MB / 343.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000461/0.03402, allocations: 0.6936 MB / 344 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.03455, allocations: 0.5301 MB / 344.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.03633, allocations: 1.597 MB / 346.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.03634, allocations: 4 kB / 346.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03634, allocations: 0 / 346.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.176e-05/0.03638, allocations: 4 kB / 346.2 MB, free: 2.539 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.002726/0.03911, allocations: 1.733 MB / 347.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.03914, allocations: 15.98 kB / 347.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.03979, allocations: 264.6 kB / 348.2 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.04089, allocations: 0.8073 MB / 349 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.04106, allocations: 333.3 kB / 349.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.04121, allocations: 115.9 kB / 349.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.04235, allocations: 1.032 MB / 350.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.04238, allocations: 0 / 350.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.04245, allocations: 43.98 kB / 350.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/0.0426, allocations: 117.9 kB / 350.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.04329, allocations: 456.4 kB / 351.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004616/0.04791, allocations: 4.048 MB / 355.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.04847, allocations: 444.8 kB / 355.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.04875, allocations: 205.6 kB / 355.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.04881, allocations: 20.94 kB / 355.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.04932, allocations: 0.5004 MB / 356.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 2.736e-06/0.04932, allocations: 0 / 356.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=119): time 0.002636/0.05196, allocations: 1.701 MB / 358 MB, free: 6.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.05202, allocations: 127.8 kB / 358.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.05244, allocations: 0.6106 MB / 358.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.05251, allocations: 53.7 kB / 358.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.05273, allocations: 458.1 kB / 359.2 MB, free: 5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.05295, allocations: 416.4 kB / 359.6 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.05317, allocations: 230.7 kB / 359.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.05331, allocations: 426.5 kB / 360.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.05359, allocations: 239.8 kB / 360.5 MB, free: 3.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.05424, allocations: 0.5228 MB / 361 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.05491, allocations: 0.7737 MB / 361.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.05491, allocations: 0 / 361.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00136/0.05627, allocations: 1.083 MB / 362.9 MB, free: 1.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.05633, allocations: 65.73 kB / 362.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.05634, allocations: 4 kB / 362.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.05702, allocations: 327.4 kB / 363.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.05749, allocations: 211.7 kB / 363.5 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.06106, allocations: 3.882 MB / 367.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.06161, allocations: 59.92 kB / 367.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.06172, allocations: 79.86 kB / 367.5 MB, free: 12.25 MB / 346.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.0003795/0.0621, allocations: 204.4 kB / 367.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.06256, allocations: 107.8 kB / 367.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.06361, allocations: 0.7201 MB / 368.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.06364, allocations: 31.92 kB / 368.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.06365, allocations: 4 kB / 368.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.06366, allocations: 7.984 kB / 368.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.06566, allocations: 1.491 MB / 370 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.06567, allocations: 0 / 370 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.06619, allocations: 174.8 kB / 370.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.06645, allocations: 134.9 kB / 370.3 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.06651, allocations: 31.95 kB / 370.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.06859, allocations: 3.786 MB / 374.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.06859, allocations: 0 / 374.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.07009, allocations: 1.059 MB / 375.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.07034, allocations: 179.2 kB / 375.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.07047, allocations: 83.94 kB / 375.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.07076, allocations: 51.95 kB / 375.5 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.07091, allocations: 76.8 kB / 375.6 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.07096, allocations: 27.97 kB / 375.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.07116, allocations: 264.5 kB / 375.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07116, allocations: 0 / 375.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008539/0.07201, allocations: 367.8 kB / 376.2 MB, free: 3.062 MB / 346.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.001325/0.07334, allocations: 0.6793 MB / 376.9 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.07476, allocations: 1.19 MB / 378.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/0.07478, allocations: 13.88 kB / 378.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.07544, allocations: 0.7373 MB / 378.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.07603, allocations: 229.6 kB / 379.1 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.07907, allocations: 2.342 MB / 381.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.07933, allocations: 333.7 kB / 381.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.07969, allocations: 135.8 kB / 381.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.08014, allocations: 245.2 kB / 382.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.08014, allocations: 4 kB / 382.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Templates: time 0.02414/0.1043, allocations: 19.02 MB / 401.1 MB, free: 10.53 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.055746869184077]