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.001336/0.001336, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.00146/0.00146, allocations: 169.5 kB / 24.5 MB, free: 3.453 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.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.1728/0.1728, allocations: 29.43 MB / 290.7 MB, free: 3.305 MB / 270.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.002036/0.002036, allocations: 67.89 kB / 431.2 MB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4298, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.007751/0.4375, allocations: 7.082 MB / 0.489 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.4451, allocations: 4.982 MB / 0.4938 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.4461, allocations: 33.22 kB / 0.4939 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.4583, allocations: 6.551 MB / 0.5003 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.461, allocations: 0.752 MB / 0.501 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4626, allocations: 0.5219 MB / 0.5015 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.4667, allocations: 2.779 MB / 0.5042 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.4689, allocations: 1.124 MB / 0.5053 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.4708, allocations: 0.8255 MB / 0.5061 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.4728, allocations: 0.9593 MB / 0.5071 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.4735, allocations: 144.7 kB / 0.5072 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.4755, allocations: 0.6936 MB / 0.5079 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.4766, allocations: 0.6814 MB / 0.5085 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.4787, allocations: 0.6108 MB / 0.5091 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.4844, allocations: 2.285 MB / 0.5114 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4844, allocations: 0.7031 kB / 0.5114 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4844, allocations: 0 / 0.5114 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.11e-05/0.4845, allocations: 5.25 kB / 0.5114 GB, free: 23.59 MB / 446.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.009677/0.4941, allocations: 1.938 MB / 0.5133 GB, free: 22.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.4942, allocations: 8.688 kB / 0.5133 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.496, allocations: 225.2 kB / 0.5135 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.4999, allocations: 0.9822 MB / 0.5145 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.5002, allocations: 339.2 kB / 0.5148 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006834/0.5009, allocations: 109.8 kB / 0.5149 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006233/0.5071, allocations: 1.882 MB / 0.5167 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/0.5072, allocations: 17.11 kB / 0.5167 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.5074, allocations: 43.2 kB / 0.5168 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000526/0.5079, allocations: 124.8 kB / 0.5169 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00523/0.5132, allocations: 1.588 MB / 0.5185 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.5274, allocations: 5.216 MB / 0.5235 GB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.5314, allocations: 1.038 MB / 0.5246 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.5336, allocations: 0.6772 MB / 0.5252 GB, free: 16.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.5337, allocations: 16.19 kB / 0.5252 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003017/0.5367, allocations: 0.9768 MB / 0.5262 GB, free: 16.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=116): time 5.14e-06/0.5368, allocations: 0 / 0.5262 GB, free: 16.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=119): time 0.01587/0.5526, allocations: 4.316 MB / 0.5304 GB, free: 14.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5527, allocations: 133 kB / 0.5305 GB, free: 14.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.5543, allocations: 0.7091 MB / 0.5312 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.5546, allocations: 55.8 kB / 0.5313 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/0.5553, allocations: 0.5321 MB / 0.5318 GB, free: 13.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/0.556, allocations: 420.6 kB / 0.5322 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007659/0.5568, allocations: 247.2 kB / 0.5324 GB, free: 12.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.557, allocations: 413.8 kB / 0.5328 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.559, allocations: 0.7344 MB / 0.5335 GB, free: 12.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.5613, allocations: 1.043 MB / 0.5346 GB, free: 11.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/0.5653, allocations: 1.676 MB / 0.5362 GB, free: 10.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.5653, allocations: 3.125 kB / 0.5362 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00611/0.5714, allocations: 2.274 MB / 0.5384 GB, free: 9.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.967e-05/0.5715, allocations: 69.7 kB / 0.5385 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.5716, allocations: 7.719 kB / 0.5385 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.5733, allocations: 411.5 kB / 0.5389 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.5746, allocations: 218.7 kB / 0.5391 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.5848, allocations: 5.936 MB / 0.5449 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.5865, allocations: 95.84 kB / 0.545 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/0.5869, allocations: 87.94 kB / 0.5451 GB, free: 4.328 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.00137/0.5883, allocations: 461.3 kB / 0.5455 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/0.5888, allocations: 107.3 kB / 0.5456 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005414/0.5942, allocations: 1.787 MB / 0.5474 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/0.5943, allocations: 31.98 kB / 0.5474 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.5943, allocations: 0 / 0.5474 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.5943, allocations: 7.969 kB / 0.5474 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009201/0.6035, allocations: 2.97 MB / 0.5503 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.6036, allocations: 3.938 kB / 0.5503 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.605, allocations: 171.8 kB / 0.5505 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007646/0.6057, allocations: 158.4 kB / 0.5506 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.6059, allocations: 47.8 kB / 0.5507 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006442/0.6124, allocations: 4.414 MB / 0.555 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.6124, allocations: 4 kB / 0.555 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009573/0.622, allocations: 2.738 MB / 0.5576 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.6231, allocations: 231.2 kB / 0.5579 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/0.6237, allocations: 91.92 kB / 0.558 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.6252, allocations: 107.8 kB / 0.5581 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.6256, allocations: 80.84 kB / 0.5581 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.6258, allocations: 51.91 kB / 0.5582 GB, free: 6.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.6272, allocations: 486.9 kB / 0.5587 GB, free: 5.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6272, allocations: 0 / 0.5587 GB, free: 5.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002728/0.6299, allocations: 367.8 kB / 0.559 GB, free: 5.625 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.002604/0.6325, allocations: 0.5924 MB / 0.5596 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006568/0.6391, allocations: 2.155 MB / 0.5617 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6391, allocations: 0 / 0.5617 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.6427, allocations: 1.169 MB / 0.5628 GB, free: 1.812 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.6447, allocations: 197.7 kB / 0.563 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/0.6543, allocations: 3.438 MB / 0.5664 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.6558, allocations: 0.6863 MB / 0.567 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.6574, allocations: 287.7 kB / 0.5673 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.658, allocations: 80.48 kB / 0.5674 GB, free: 13.06 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/0.658, allocations: 0 / 0.5674 GB, free: 13.06 MB / 478.1 MB Notification: Performance of Templates: time 0.04166/0.6997, allocations: 17.92 MB / 0.5849 GB, free: 11.33 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.069227084051818] Failed to read output from testmodel.py, exit status != 0: 0.7100615850649774 0.725483105 0.237647496 Calling exit ...