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.0007837/0.0007837, allocations: 80.8 kB / 21.49 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.001304/0.001304, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2323/0.2323, allocations: 29.42 MB / 291.2 MB, free: 2.465 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 2.335e-06/2.335e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.625e-05, allocations: 3.188 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.006632/0.006658, allocations: 6.814 MB / 323.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007415/0.01407, allocations: 5.259 MB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005871/0.01466, allocations: 39.69 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008288/0.02295, allocations: 6.307 MB / 335.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.02469, allocations: 0.7655 MB / 336 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.02597, allocations: 0.5572 MB / 336.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002947/0.02891, allocations: 2.767 MB / 339.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.03016, allocations: 1.21 MB / 340.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.03146, allocations: 1.083 MB / 341.6 MB, free: 7.094 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.03248, allocations: 0.8806 MB / 342.5 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.03266, allocations: 140 kB / 342.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.03373, allocations: 0.7097 MB / 343.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.03428, allocations: 0.6897 MB / 344.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.03481, allocations: 0.5262 MB / 344.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.03666, allocations: 1.597 MB / 346.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.03666, allocations: 4 kB / 346.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.03666, allocations: 7.922 kB / 346.2 MB, free: 2.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.03667, allocations: 0 / 346.2 MB, free: 2.531 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.002501/0.03918, allocations: 1.744 MB / 347.9 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.03921, allocations: 15.98 kB / 348 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/0.03987, allocations: 248.7 kB / 348.2 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.04116, allocations: 0.8071 MB / 349 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.04135, allocations: 337.3 kB / 349.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.04154, allocations: 111.9 kB / 349.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.0429, allocations: 1.032 MB / 350.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.04293, allocations: 0 / 350.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.04304, allocations: 43.98 kB / 350.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/0.04324, allocations: 113.9 kB / 350.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.04406, allocations: 460.5 kB / 351.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.0489, allocations: 4.048 MB / 355.1 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.04956, allocations: 456.2 kB / 355.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.04991, allocations: 196.7 kB / 355.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.04997, allocations: 17 kB / 355.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/0.05063, allocations: 0.4953 MB / 356.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 2.605e-06/0.05063, allocations: 0 / 356.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=119): time 0.003099/0.05373, allocations: 1.697 MB / 358 MB, free: 6.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.0538, allocations: 131.7 kB / 358.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.05434, allocations: 0.6106 MB / 358.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.05442, allocations: 61.69 kB / 358.8 MB, free: 5.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.05467, allocations: 450.1 kB / 359.2 MB, free: 5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.05495, allocations: 420.4 kB / 359.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.05525, allocations: 234.7 kB / 359.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.05541, allocations: 418.5 kB / 360.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.05576, allocations: 243.7 kB / 360.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.05625, allocations: 0.519 MB / 361 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.05712, allocations: 0.7737 MB / 361.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.05712, allocations: 8 kB / 361.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001679/0.0588, allocations: 1.079 MB / 362.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.05887, allocations: 61.67 kB / 362.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.05888, allocations: 8 kB / 362.9 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008342/0.05971, allocations: 327.8 kB / 363.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.06025, allocations: 187.7 kB / 363.4 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.06422, allocations: 3.866 MB / 367.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.06463, allocations: 59.86 kB / 367.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.06475, allocations: 71.94 kB / 367.4 MB, free: 12.29 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.0003168/0.06507, allocations: 212.3 kB / 367.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.06526, allocations: 99.91 kB / 367.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.06645, allocations: 0.7201 MB / 368.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.06649, allocations: 35.91 kB / 368.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.06649, allocations: 7.938 kB / 368.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.0665, allocations: 7.984 kB / 368.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.06882, allocations: 1.503 MB / 370 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.06882, allocations: 0 / 370 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.06937, allocations: 147.8 kB / 370.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.06967, allocations: 119 kB / 370.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.06975, allocations: 31.97 kB / 370.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.07209, allocations: 3.778 MB / 374.1 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.07209, allocations: 0 / 374.1 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.0734, allocations: 1.063 MB / 375.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.07366, allocations: 171.2 kB / 375.3 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.07382, allocations: 75.94 kB / 375.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.07411, allocations: 47.95 kB / 375.4 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.07425, allocations: 76.86 kB / 375.5 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.07431, allocations: 35.91 kB / 375.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.07453, allocations: 260.5 kB / 375.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07453, allocations: 0 / 375.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000901/0.07543, allocations: 379.7 kB / 376.2 MB, free: 3.129 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.001651/0.07708, allocations: 0.6775 MB / 376.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.07867, allocations: 1.198 MB / 378.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/0.07869, allocations: 8.5 kB / 378.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.07949, allocations: 0.7348 MB / 378.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.08021, allocations: 233.6 kB / 379 MB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.084, allocations: 2.33 MB / 381.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.08432, allocations: 341.7 kB / 381.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003743/0.08469, allocations: 127.9 kB / 381.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.08511, allocations: 245.2 kB / 382.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.08512, allocations: 0 / 382.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.02494/0.1101, allocations: 18.98 MB / 401 MB, free: 10.65 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.229718833230436]