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.0013/0.0013, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001422/0.001422, allocations: 215.6 kB / 24.48 MB, free: 3.844 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1908/0.1908, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.003371/0.003371, allocations: 59.91 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3452, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01014/0.3554, allocations: 7.077 MB / 0.5501 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009561/0.3649, allocations: 4.985 MB / 0.5549 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.3658, allocations: 39.12 kB / 0.555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01369/0.3795, allocations: 6.501 MB / 0.5613 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.382, allocations: 0.7545 MB / 0.5621 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.3835, allocations: 0.5258 MB / 0.5626 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.3878, allocations: 2.776 MB / 0.5653 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.3894, allocations: 1.131 MB / 0.5664 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.3909, allocations: 0.8216 MB / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.3923, allocations: 0.9539 MB / 0.5681 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.3926, allocations: 148 kB / 0.5683 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.394, allocations: 0.7021 MB / 0.569 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006811/0.3947, allocations: 0.6662 MB / 0.5696 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.3954, allocations: 0.6185 MB / 0.5702 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.3982, allocations: 2.285 MB / 0.5724 GB, free: 6.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3982, allocations: 0 / 0.5724 GB, free: 6.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3982, allocations: 4 kB / 0.5724 GB, free: 6.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.802e-05/0.3983, allocations: 0 / 0.5724 GB, free: 6.125 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.00457/0.4028, allocations: 1.941 MB / 0.5743 GB, free: 4.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4029, allocations: 11.98 kB / 0.5744 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.4037, allocations: 211.9 kB / 0.5746 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.406, allocations: 0.9859 MB / 0.5755 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.4063, allocations: 341.3 kB / 0.5758 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.4065, allocations: 108 kB / 0.5759 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.41, allocations: 1.896 MB / 0.5778 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.4101, allocations: 7.891 kB / 0.5778 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.4102, allocations: 43.98 kB / 0.5778 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003444/0.4105, allocations: 121.9 kB / 0.578 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.4137, allocations: 1.6 MB / 0.5795 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009257/0.423, allocations: 5.163 MB / 0.5846 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.4255, allocations: 1.031 MB / 0.5856 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.427, allocations: 0.6761 MB / 0.5862 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.927e-05/0.4271, allocations: 13 kB / 0.5862 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.429, allocations: 0.9808 MB / 0.5872 GB, free: 6.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.246e-06/0.429, allocations: 3.938 kB / 0.5872 GB, free: 6.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.01038/0.4394, allocations: 4.31 MB / 0.5914 GB, free: 2.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.4395, allocations: 135.7 kB / 0.5915 GB, free: 2.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.4405, allocations: 0.7072 MB / 0.5922 GB, free: 1.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.4406, allocations: 57.7 kB / 0.5923 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.4411, allocations: 0.5322 MB / 0.5928 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.4415, allocations: 424.5 kB / 0.5932 GB, free: 364 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/0.4419, allocations: 254.8 kB / 0.5935 GB, free: 104 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.4421, allocations: 410.7 kB / 0.5939 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4433, allocations: 0.7311 MB / 0.5946 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.4447, allocations: 1.042 MB / 0.5956 GB, free: 13.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.4471, allocations: 1.674 MB / 0.5972 GB, free: 12.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.4471, allocations: 8 kB / 0.5972 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00432/0.4515, allocations: 2.264 MB / 0.5994 GB, free: 9.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.4515, allocations: 61.67 kB / 0.5995 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.4516, allocations: 8 kB / 0.5995 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.4529, allocations: 414.2 kB / 0.5999 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.4538, allocations: 215.6 kB / 0.6001 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008748/0.4625, allocations: 5.927 MB / 0.6059 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.4636, allocations: 103.8 kB / 0.606 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.4637, allocations: 87.88 kB / 0.6061 GB, free: 2.703 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.000831/0.4646, allocations: 457.4 kB / 0.6065 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.4648, allocations: 103.3 kB / 0.6066 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.4689, allocations: 1.787 MB / 0.6084 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/0.469, allocations: 24 kB / 0.6084 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.469, allocations: 8 kB / 0.6084 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.469, allocations: 7.969 kB / 0.6084 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006363/0.4753, allocations: 2.959 MB / 0.6113 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4753, allocations: 0 / 0.6113 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.4763, allocations: 171.7 kB / 0.6114 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.4768, allocations: 162.3 kB / 0.6116 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.4769, allocations: 43.89 kB / 0.6116 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004363/0.4813, allocations: 4.411 MB / 0.616 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4813, allocations: 8.156 kB / 0.616 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.487, allocations: 2.734 MB / 0.6186 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/0.4878, allocations: 235.2 kB / 0.6189 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.488, allocations: 83.94 kB / 0.6189 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/0.4889, allocations: 111.8 kB / 0.619 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.4892, allocations: 84.78 kB / 0.6191 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.983e-05/0.4893, allocations: 43.91 kB / 0.6192 GB, free: 4.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006698/0.4899, allocations: 479 kB / 0.6196 GB, free: 4.391 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4899, allocations: 0 / 0.6196 GB, free: 4.391 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001293/0.4912, allocations: 375.8 kB / 0.62 GB, free: 4.023 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.001981/0.4932, allocations: 0.5955 MB / 0.6206 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004341/0.4975, allocations: 2.162 MB / 0.6227 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.4975, allocations: 0 / 0.6227 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.4999, allocations: 1.158 MB / 0.6238 GB, free: 212 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5011, allocations: 193.8 kB / 0.624 GB, free: 28 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.508, allocations: 3.572 MB / 0.6275 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/0.5089, allocations: 0.6824 MB / 0.6281 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.5094, allocations: 87.41 kB / 0.6282 GB, free: 11.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5094, allocations: 0 / 0.6282 GB, free: 11.61 MB / 478.1 MB Notification: Performance of Templates: time 0.04276/0.5522, allocations: 29.95 MB / 0.6575 GB, free: 13.67 MB / 0.4981 GB " [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: 13.125832512974739] Failed to read output from testmodel.py, exit status != 0: 0.565213774330914 0.578745807 0.17692971499999996 Calling exit ...