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.001504/0.001504, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001681/0.001681, allocations: 207.9 kB / 23.73 MB, free: 4.387 MB / 14.72 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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.1886/0.1886, allocations: 38.55 MB / 352.5 MB, free: 12.41 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.91 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3626, allocations: 62.47 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01138/0.3739, allocations: 7.077 MB / 0.5493 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009521/0.3835, allocations: 4.978 MB / 0.5542 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/0.3843, allocations: 38.88 kB / 0.5542 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.3984, allocations: 6.512 MB / 0.5606 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.4014, allocations: 0.7468 MB / 0.5613 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.4034, allocations: 0.5257 MB / 0.5618 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004512/0.4079, allocations: 2.776 MB / 0.5646 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.4096, allocations: 1.131 MB / 0.5657 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.4111, allocations: 0.8216 MB / 0.5665 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.4126, allocations: 0.9539 MB / 0.5674 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.4129, allocations: 144 kB / 0.5675 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.4146, allocations: 0.7021 MB / 0.5682 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000809/0.4154, allocations: 0.6701 MB / 0.5689 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.4162, allocations: 0.6146 MB / 0.5695 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.419, allocations: 2.289 MB / 0.5717 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.419, allocations: 4 kB / 0.5717 GB, free: 6.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.419, allocations: 0 / 0.5717 GB, free: 6.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.419, allocations: 0 / 0.5717 GB, free: 6.137 MB / 414.1 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.004411/0.4234, allocations: 1.933 MB / 0.5736 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4235, allocations: 15.98 kB / 0.5736 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.4244, allocations: 215.9 kB / 0.5738 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.4266, allocations: 0.9821 MB / 0.5748 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.4269, allocations: 345.3 kB / 0.5751 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.4272, allocations: 108 kB / 0.5752 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.4307, allocations: 1.884 MB / 0.5771 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.4307, allocations: 7.953 kB / 0.5771 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.4309, allocations: 47.97 kB / 0.5771 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/0.4312, allocations: 117.9 kB / 0.5772 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.4345, allocations: 1.608 MB / 0.5788 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009497/0.444, allocations: 5.163 MB / 0.5838 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.4466, allocations: 1.043 MB / 0.5848 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.4481, allocations: 0.6683 MB / 0.5855 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.55e-05/0.4482, allocations: 20.88 kB / 0.5855 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/0.4501, allocations: 0.9767 MB / 0.5865 GB, free: 6.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.416e-06/0.4501, allocations: 0 / 0.5865 GB, free: 6.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.01044/0.4606, allocations: 4.314 MB / 0.5907 GB, free: 2.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.4607, allocations: 135.7 kB / 0.5908 GB, free: 2.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/0.4617, allocations: 0.7073 MB / 0.5915 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.4618, allocations: 61.69 kB / 0.5916 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/0.4623, allocations: 0.5322 MB / 0.5921 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.4627, allocations: 424.5 kB / 0.5925 GB, free: 368 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.4631, allocations: 246.8 kB / 0.5927 GB, free: 116 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.4634, allocations: 410.7 kB / 0.5931 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4645, allocations: 0.7389 MB / 0.5938 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.4659, allocations: 1.038 MB / 0.5949 GB, free: 13.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.4683, allocations: 1.678 MB / 0.5965 GB, free: 12.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.4684, allocations: 4 kB / 0.5965 GB, free: 12.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004207/0.4726, allocations: 2.26 MB / 0.5987 GB, free: 9.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.4726, allocations: 61.67 kB / 0.5988 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.4727, allocations: 8 kB / 0.5988 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.474, allocations: 414.2 kB / 0.5992 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.4748, allocations: 215.6 kB / 0.5994 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009183/0.484, allocations: 5.93 MB / 0.6052 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.4852, allocations: 103.8 kB / 0.6053 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.4853, allocations: 83.94 kB / 0.6053 GB, free: 2.719 MB / 446.1 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.000939/0.4863, allocations: 457.3 kB / 0.6058 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.4866, allocations: 111.3 kB / 0.6059 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004351/0.4909, allocations: 1.791 MB / 0.6076 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/0.4909, allocations: 27.98 kB / 0.6077 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.491, allocations: 4 kB / 0.6077 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.491, allocations: 3.984 kB / 0.6077 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/0.4977, allocations: 2.959 MB / 0.6106 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4978, allocations: 0 / 0.6106 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/0.4987, allocations: 171.8 kB / 0.6107 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/0.4993, allocations: 158.4 kB / 0.6109 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.4994, allocations: 43.95 kB / 0.6109 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/0.504, allocations: 4.418 MB / 0.6152 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.504, allocations: 4.031 kB / 0.6152 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.51, allocations: 2.731 MB / 0.6179 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.5107, allocations: 231.2 kB / 0.6181 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.511, allocations: 87.94 kB / 0.6182 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009345/0.5119, allocations: 107.8 kB / 0.6183 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.5122, allocations: 84.83 kB / 0.6184 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.5123, allocations: 43.91 kB / 0.6184 GB, free: 4.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008379/0.5132, allocations: 483 kB / 0.6189 GB, free: 4.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5132, allocations: 0 / 0.6189 GB, free: 4.402 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001971/0.5152, allocations: 375.7 kB / 0.6192 GB, free: 4.035 MB / 462.1 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.002126/0.5173, allocations: 0.6037 MB / 0.6198 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004593/0.5219, allocations: 2.146 MB / 0.6219 GB, free: 1.426 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.5219, allocations: 4 kB / 0.6219 GB, free: 1.422 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.5244, allocations: 1.166 MB / 0.6231 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.5258, allocations: 194.5 kB / 0.6233 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.5324, allocations: 3.462 MB / 0.6266 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009375/0.5333, allocations: 0.6901 MB / 0.6273 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009266/0.5342, allocations: 283.7 kB / 0.6276 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.5345, allocations: 87.36 kB / 0.6277 GB, free: 11.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5345, allocations: 0 / 0.6277 GB, free: 11.44 MB / 478.1 MB Notification: Performance of Templates: time 0.03711/0.5717, allocations: 19.36 MB / 0.6466 GB, free: 8.281 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.180591540411115] Failed to read output from testmodel.py, exit status != 0: 0.5816612429916859 0.596829609 0.174381477 Calling exit ...