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.0009942/0.0009942, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001414/0.001414, allocations: 162 kB / 24.99 MB, free: 8.746 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.122/1.122, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2333/0.2333, allocations: 29.41 MB / 291.2 MB, free: 2.504 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.385e-06/2.385e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.619e-05/4.857e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01164/0.01169, allocations: 7.552 MB / 377.2 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009766/0.02145, allocations: 5.192 MB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007968/0.02225, allocations: 35.75 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00939/0.03164, allocations: 6.65 MB / 389.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.03419, allocations: 0.7732 MB / 389.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.03558, allocations: 0.5417 MB / 390.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003798/0.03938, allocations: 2.795 MB / 393.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.04101, allocations: 1.186 MB / 394.4 MB, free: 2.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.04301, allocations: 1.064 MB / 395.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.04447, allocations: 0.9274 MB / 396.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.04475, allocations: 144 kB / 396.5 MB, free: 364 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.04603, allocations: 0.7059 MB / 397.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.0466, allocations: 0.7014 MB / 397.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.04733, allocations: 0.53 MB / 398.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.04962, allocations: 1.616 MB / 400 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.04963, allocations: 0 / 400 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.04963, allocations: 3.984 kB / 400 MB, free: 12.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.458e-05/0.04968, allocations: 0 / 400 MB, free: 12.79 MB / 378.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.002935/0.05261, allocations: 2.026 MB / 402.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.05265, allocations: 11.98 kB / 402.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.0534, allocations: 319.8 kB / 402.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.05485, allocations: 0.9933 MB / 403.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.05502, allocations: 337.3 kB / 403.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.05518, allocations: 115.9 kB / 403.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.05666, allocations: 1.157 MB / 405 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.05668, allocations: 4 kB / 405 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.05677, allocations: 43.98 kB / 405 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.05695, allocations: 125.9 kB / 405.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.05805, allocations: 0.6048 MB / 405.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.0634, allocations: 5.32 MB / 411.1 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.06418, allocations: 0.4889 MB / 411.6 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.06459, allocations: 278.2 kB / 411.8 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.06465, allocations: 21 kB / 411.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006891/0.06534, allocations: 0.5584 MB / 412.4 MB, free: 15.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 2.615e-06/0.06534, allocations: 0 / 412.4 MB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=119): time 0.003777/0.06912, allocations: 2.403 MB / 414.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.06918, allocations: 127.8 kB / 414.9 MB, free: 13.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.06978, allocations: 0.6906 MB / 415.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.06986, allocations: 57.69 kB / 415.7 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.07019, allocations: 0.5817 MB / 416.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.07045, allocations: 432.5 kB / 416.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.07072, allocations: 260.5 kB / 416.9 MB, free: 11.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003607/0.07108, allocations: 0.6093 MB / 417.6 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.07155, allocations: 328.8 kB / 417.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.07215, allocations: 0.73 MB / 418.6 MB, free: 9.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009948/0.07314, allocations: 0.984 MB / 419.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.07315, allocations: 4 kB / 419.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002062/0.07521, allocations: 1.453 MB / 421.1 MB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.07527, allocations: 57.69 kB / 421.1 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.07528, allocations: 4 kB / 421.1 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008484/0.07613, allocations: 351.1 kB / 421.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.07663, allocations: 219.7 kB / 421.7 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.08115, allocations: 5.237 MB / 426.9 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.08182, allocations: 83.91 kB / 427 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.08196, allocations: 91.94 kB / 427.1 MB, free: 0.5586 MB / 394.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.0004905/0.08245, allocations: 244.2 kB / 427.3 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.08274, allocations: 151.3 kB / 427.5 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.08433, allocations: 0.9915 MB / 428.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.08436, allocations: 20 kB / 428.5 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.08436, allocations: 7.938 kB / 428.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.08437, allocations: 7.969 kB / 428.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.08718, allocations: 2.074 MB / 430.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.08719, allocations: 0 / 430.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.08773, allocations: 171.7 kB / 430.7 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.08808, allocations: 122.9 kB / 430.9 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.08816, allocations: 40.03 kB / 430.9 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/0.09165, allocations: 5.466 MB / 436.4 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.09166, allocations: 7.984 kB / 436.4 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.09379, allocations: 1.409 MB / 437.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.09415, allocations: 219.2 kB / 438 MB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.09431, allocations: 79.94 kB / 438.1 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.09468, allocations: 83.84 kB / 438.1 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.09487, allocations: 84.81 kB / 438.2 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.09493, allocations: 43.97 kB / 438.3 MB, free: 4.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005351/0.09547, allocations: 411 kB / 438.7 MB, free: 4.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09547, allocations: 0 / 438.7 MB, free: 4.434 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001005/0.09647, allocations: 383.7 kB / 439.1 MB, free: 4.059 MB / 410.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.001219/0.09769, allocations: 0.5541 MB / 439.6 MB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.09975, allocations: 1.494 MB / 441.1 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.09975, allocations: 64 / 441.1 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.1007, allocations: 0.9733 MB / 442.1 MB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.1014, allocations: 229.2 kB / 442.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1352/0.2366, allocations: 2.606 MB / 444.9 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.2368, allocations: 352.4 kB / 445.2 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006294/0.2375, allocations: 220.7 kB / 445.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.2377, allocations: 85.67 kB / 445.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of SimCode: time 3.817e-06/0.2377, allocations: 0 / 445.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02069/0.2584, allocations: 18.03 MB / 463.6 MB, free: 106.7 MB / 410.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.959854011889547]