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.001311/0.001311, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001568/0.001568, allocations: 213.9 kB / 24.49 MB, free: 4.145 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1814/0.1814, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.002053/0.002053, allocations: 71.89 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.009694/0.3141, allocations: 7.655 MB / 0.5507 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008664/0.3228, allocations: 5.487 MB / 0.5561 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.3235, allocations: 35.75 kB / 0.5561 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01303/0.3366, allocations: 6.642 MB / 0.5626 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.3389, allocations: 0.7428 MB / 0.5633 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.3405, allocations: 0.5224 MB / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.3448, allocations: 2.791 MB / 0.5665 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.3466, allocations: 1.139 MB / 0.5677 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.3482, allocations: 0.8255 MB / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.35, allocations: 0.993 MB / 0.5694 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.3504, allocations: 148 kB / 0.5696 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.3521, allocations: 0.7489 MB / 0.5703 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007655/0.3529, allocations: 0.6702 MB / 0.571 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009733/0.3539, allocations: 0.7544 MB / 0.5717 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.3568, allocations: 2.273 MB / 0.5739 GB, free: 4.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.3568, allocations: 0 / 0.5739 GB, free: 4.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3568, allocations: 0 / 0.5739 GB, free: 4.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.3569, allocations: 0 / 0.5739 GB, free: 4.914 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.004208/0.3611, allocations: 1.941 MB / 0.5758 GB, free: 2.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3611, allocations: 15.98 kB / 0.5758 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.362, allocations: 215.9 kB / 0.576 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.3641, allocations: 0.9781 MB / 0.577 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.3644, allocations: 341.3 kB / 0.5773 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.3646, allocations: 112 kB / 0.5774 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003329/0.3679, allocations: 1.859 MB / 0.5792 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.3679, allocations: 7.953 kB / 0.5792 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.3681, allocations: 43.97 kB / 0.5793 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/0.3684, allocations: 125.9 kB / 0.5794 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.3713, allocations: 1.604 MB / 0.581 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009301/0.3806, allocations: 5.646 MB / 0.5865 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.383, allocations: 1.042 MB / 0.5875 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.3845, allocations: 0.6722 MB / 0.5882 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-05/0.3845, allocations: 17.14 kB / 0.5882 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/0.3864, allocations: 0.9805 MB / 0.5891 GB, free: 4.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.715e-06/0.3864, allocations: 4 kB / 0.5891 GB, free: 4.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.00992/0.3963, allocations: 4.33 MB / 0.5934 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3964, allocations: 127.8 kB / 0.5935 GB, free: 400 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.3976, allocations: 0.8016 MB / 0.5943 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.3978, allocations: 61.69 kB / 0.5943 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.3983, allocations: 0.5128 MB / 0.5948 GB, free: 14.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.3987, allocations: 432.4 kB / 0.5952 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005137/0.3992, allocations: 250.8 kB / 0.5955 GB, free: 14.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.3995, allocations: 361.9 kB / 0.5958 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.4006, allocations: 0.6903 MB / 0.5965 GB, free: 13.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4019, allocations: 0.9689 MB / 0.5974 GB, free: 12.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.4044, allocations: 1.682 MB / 0.5991 GB, free: 10.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.4044, allocations: 4 kB / 0.5991 GB, free: 10.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004342/0.4088, allocations: 2.223 MB / 0.6013 GB, free: 8.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.4088, allocations: 65.67 kB / 0.6013 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4089, allocations: 8.312 kB / 0.6013 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.4101, allocations: 413.2 kB / 0.6017 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.411, allocations: 215.7 kB / 0.6019 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/0.42, allocations: 6.047 MB / 0.6078 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4211, allocations: 103.8 kB / 0.6079 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.4212, allocations: 83.94 kB / 0.608 GB, free: 1 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.0007885/0.422, allocations: 457.3 kB / 0.6085 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.4223, allocations: 115.3 kB / 0.6086 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.4263, allocations: 1.807 MB / 0.6103 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/0.4264, allocations: 27.98 kB / 0.6104 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4264, allocations: 8 kB / 0.6104 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.4264, allocations: 3.984 kB / 0.6104 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/0.4331, allocations: 3.239 MB / 0.6135 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.4331, allocations: 0 / 0.6135 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.4342, allocations: 175.8 kB / 0.6137 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006363/0.4348, allocations: 162.3 kB / 0.6139 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.4349, allocations: 39.95 kB / 0.6139 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004791/0.4397, allocations: 4.502 MB / 0.6183 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4397, allocations: 0 / 0.6183 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/0.4455, allocations: 2.734 MB / 0.621 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007708/0.4463, allocations: 247 kB / 0.6212 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.4466, allocations: 87.94 kB / 0.6213 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/0.4475, allocations: 111.8 kB / 0.6214 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.4477, allocations: 80.84 kB / 0.6215 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/0.4478, allocations: 39.97 kB / 0.6215 GB, free: 2.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008068/0.4486, allocations: 0.5498 MB / 0.622 GB, free: 2.152 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4486, allocations: 0 / 0.622 GB, free: 2.152 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001246/0.4499, allocations: 379.8 kB / 0.6224 GB, free: 1.781 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.001834/0.4517, allocations: 0.5608 MB / 0.6229 GB, free: 1.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.4558, allocations: 2.122 MB / 0.625 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4558, allocations: 0 / 0.625 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.4581, allocations: 1.166 MB / 0.6262 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.4593, allocations: 249.9 kB / 0.6264 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.4655, allocations: 3.599 MB / 0.6299 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.4665, allocations: 1.277 MB / 0.6312 GB, free: 8.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.467, allocations: 95.41 kB / 0.6312 GB, free: 8.727 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.467, allocations: 0 / 0.6312 GB, free: 8.727 MB / 478.1 MB Notification: Performance of Templates: time 0.04196/0.509, allocations: 30.31 MB / 0.6608 GB, free: 10.45 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: 12.768882401986048] Failed to read output from testmodel.py, exit status != 0: 0.5189469892065972 0.533025966 0.17289378699999994 Calling exit ...