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.0006493/0.0006493, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008085/0.001458, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009334/0.0009334, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002117, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.924/0.924, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07677/1.001, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1132/0.1132, allocations: 29.42 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1194/0.2325, allocations: 9.521 MB / 282.9 MB, free: 12.85 MB / 282.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 1.863e-06/1.863e-06, allocations: 0.9375 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.446e-06/1.031e-05, allocations: 2.969 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.005956/0.005966, allocations: 6.912 MB / 291.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.01186, allocations: 5.284 MB / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.01229, allocations: 36.22 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00701/0.0193, allocations: 5.863 MB / 302.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.02049, allocations: 0.7655 MB / 303.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009127/0.02141, allocations: 0.5494 MB / 303.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.02383, allocations: 2.744 MB / 306.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.02485, allocations: 1.179 MB / 307.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.02589, allocations: 1.153 MB / 308.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.02664, allocations: 0.8884 MB / 309.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.02677, allocations: 148 kB / 309.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008361/0.0276, allocations: 0.7176 MB / 310.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.02799, allocations: 0.6158 MB / 311.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006459/0.02863, allocations: 427.2 kB / 311.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.02983, allocations: 1.449 MB / 312.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.02984, allocations: 0 / 312.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.02984, allocations: 4 kB / 312.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.02986, allocations: 0 / 312.9 MB, free: 1.965 MB / 298.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.002011/0.03187, allocations: 2.061 MB / 315 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.03189, allocations: 12.03 kB / 315 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.03241, allocations: 329.7 kB / 315.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.03364, allocations: 0.8072 MB / 316.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.03385, allocations: 337.3 kB / 316.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.03404, allocations: 115.9 kB / 316.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.03543, allocations: 1.032 MB / 317.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.03546, allocations: 0 / 317.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.03557, allocations: 51.97 kB / 317.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.03576, allocations: 109.9 kB / 317.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.03662, allocations: 448.4 kB / 318.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.04136, allocations: 4.044 MB / 322.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.04188, allocations: 435.2 kB / 322.7 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.04213, allocations: 196.7 kB / 322.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.04218, allocations: 24.92 kB / 322.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.04265, allocations: 0.4967 MB / 323.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.395e-06/0.04266, allocations: 0 / 323.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=119): time 0.002479/0.04514, allocations: 1.677 MB / 325.1 MB, free: 5.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.04519, allocations: 110.1 kB / 325.2 MB, free: 5.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.04561, allocations: 0.6145 MB / 325.8 MB, free: 4.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.04567, allocations: 57.7 kB / 325.8 MB, free: 4.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.04587, allocations: 450.2 kB / 326.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.04608, allocations: 420.4 kB / 326.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.0463, allocations: 230.7 kB / 326.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.04642, allocations: 418.5 kB / 327.3 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.04668, allocations: 243.8 kB / 327.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.04705, allocations: 0.5228 MB / 328.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.04767, allocations: 0.7737 MB / 328.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.04768, allocations: 4 kB / 328.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001246/0.04892, allocations: 1.082 MB / 330 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.04898, allocations: 57.67 kB / 330 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.04899, allocations: 4 kB / 330 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.04964, allocations: 331.9 kB / 330.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.05012, allocations: 223.6 kB / 330.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.05311, allocations: 3.893 MB / 334.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.05343, allocations: 51.92 kB / 334.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.05352, allocations: 75.88 kB / 334.6 MB, free: 11.33 MB / 330.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.0002457/0.05376, allocations: 208.4 kB / 334.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.05391, allocations: 99.91 kB / 334.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008556/0.05476, allocations: 0.7161 MB / 335.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.05479, allocations: 31.92 kB / 335.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.05479, allocations: 0 / 335.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.0548, allocations: 11.95 kB / 335.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.05646, allocations: 1.491 MB / 337.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.05647, allocations: 0 / 337.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.05697, allocations: 183.8 kB / 337.3 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.05718, allocations: 187.1 kB / 337.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.05741, allocations: 118.9 kB / 337.6 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.05747, allocations: 31.95 kB / 337.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.05955, allocations: 3.794 MB / 341.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.05955, allocations: 0 / 341.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.0607, allocations: 1.051 MB / 342.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.06083, allocations: 83.94 kB / 342.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.0611, allocations: 47.95 kB / 342.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.06121, allocations: 76.8 kB / 342.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.06125, allocations: 23.97 kB / 342.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.06143, allocations: 268.5 kB / 343 MB, free: 2.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.06143, allocations: 0 / 343 MB, free: 2.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006915/0.06213, allocations: 367.9 kB / 343.3 MB, free: 2.152 MB / 330.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.001341/0.06347, allocations: 0.7472 MB / 344.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.0647, allocations: 1.191 MB / 345.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/0.06472, allocations: 20.44 kB / 345.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007232/0.06545, allocations: 0.7269 MB / 346 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.06602, allocations: 321.6 kB / 346.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.07765, allocations: 2.36 MB / 348.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.0779, allocations: 345.7 kB / 349 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003627/0.07826, allocations: 135.9 kB / 349.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.07867, allocations: 241.2 kB / 349.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.07867, allocations: 8 kB / 349.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Templates: time 0.02108/0.09975, allocations: 19.35 MB / 368.8 MB, free: 9.152 MB / 362.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: 5.119245410896838]