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.001/0.001, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009647/0.0009647, allocations: 165.9 kB / 25.61 MB, free: 8.926 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 0.8847/0.8847, allocations: 177.1 MB / 206 MB, free: 4.492 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.142/0.142, allocations: 29.44 MB / 292 MB, free: 2.656 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 1.363e-06/1.363e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.27e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.006433/0.006446, allocations: 6.781 MB / 377.7 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.01133, allocations: 5.157 MB / 382.8 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.01168, allocations: 39.69 kB / 382.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006002/0.01769, allocations: 6.483 MB / 389.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008441/0.01853, allocations: 0.75 MB / 390.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.01922, allocations: 0.5649 MB / 390.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.02092, allocations: 2.809 MB / 393.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007924/0.02172, allocations: 1.17 MB / 394.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/0.02252, allocations: 1.095 MB / 395.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000707/0.02323, allocations: 0.904 MB / 396.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.02338, allocations: 144 kB / 396.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.02403, allocations: 0.702 MB / 397.5 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.02435, allocations: 0.7014 MB / 398.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.02474, allocations: 0.5262 MB / 398.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.02582, allocations: 1.601 MB / 400.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.02582, allocations: 0 / 400.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02582, allocations: 0 / 400.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.02584, allocations: 0 / 400.3 MB, free: 2.789 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.001827/0.02767, allocations: 1.92 MB / 402.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.02769, allocations: 12.03 kB / 402.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.02824, allocations: 299.9 kB / 402.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.02918, allocations: 0.9386 MB / 403.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.02934, allocations: 337.3 kB / 403.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.02948, allocations: 111.9 kB / 403.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.03057, allocations: 1.067 MB / 405 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.0306, allocations: 0 / 405 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.03068, allocations: 47.92 kB / 405 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.03083, allocations: 117.9 kB / 405.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.03151, allocations: 489.4 kB / 405.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.03574, allocations: 5.175 MB / 410.8 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.03637, allocations: 445.5 kB / 411.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.03672, allocations: 226.2 kB / 411.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.03677, allocations: 24.98 kB / 411.5 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.03729, allocations: 0.5192 MB / 412 MB, free: 6.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 2.204e-06/0.03729, allocations: 0 / 412 MB, free: 6.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=119): time 0.0027/0.03999, allocations: 1.875 MB / 413.9 MB, free: 4.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.04005, allocations: 127.8 kB / 414 MB, free: 4.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.04049, allocations: 0.6863 MB / 414.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.04056, allocations: 65.72 kB / 414.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.04083, allocations: 0.5816 MB / 415.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.04107, allocations: 432.4 kB / 415.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.04133, allocations: 276.3 kB / 416 MB, free: 2.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.04152, allocations: 0.613 MB / 416.6 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.0418, allocations: 244.8 kB / 416.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.04224, allocations: 0.6635 MB / 417.5 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.04294, allocations: 0.8746 MB / 418.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.04294, allocations: 4 kB / 418.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001532/0.04447, allocations: 1.289 MB / 419.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.04452, allocations: 57.69 kB / 419.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.04453, allocations: 11.98 kB / 419.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.04524, allocations: 334 kB / 420.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.04565, allocations: 187.7 kB / 420.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.0495, allocations: 5.046 MB / 425.3 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.05005, allocations: 59.88 kB / 425.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.05019, allocations: 71.94 kB / 425.4 MB, free: 8.469 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.0003386/0.05053, allocations: 260.2 kB / 425.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.0508, allocations: 147.3 kB / 425.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.05254, allocations: 0.8822 MB / 426.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/0.05258, allocations: 43.86 kB / 426.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.05259, allocations: 0 / 426.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.0526, allocations: 7.984 kB / 426.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.05587, allocations: 1.785 MB / 428.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.05588, allocations: 0 / 428.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.05657, allocations: 147.8 kB / 428.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003841/0.05696, allocations: 123 kB / 428.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.976e-05/0.05706, allocations: 39.95 kB / 428.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.06033, allocations: 5.366 MB / 434.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.06033, allocations: 4 kB / 434.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.06262, allocations: 1.276 MB / 435.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.06299, allocations: 203.2 kB / 435.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.06321, allocations: 79.94 kB / 435.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.06372, allocations: 47.97 kB / 435.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.06392, allocations: 84.97 kB / 435.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.06401, allocations: 31.97 kB / 435.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003803/0.06439, allocations: 390.8 kB / 436.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.06439, allocations: 0 / 436.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001185/0.06558, allocations: 371.8 kB / 436.7 MB, free: 12.73 MB / 362.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.00138/0.06696, allocations: 0.5591 MB / 437.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.06905, allocations: 1.376 MB / 438.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.06905, allocations: 0 / 438.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.07013, allocations: 0.9234 MB / 439.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.07099, allocations: 226.5 kB / 439.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.07542, allocations: 2.583 MB / 442.4 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.07579, allocations: 353.7 kB / 442.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005047/0.07629, allocations: 127.9 kB / 442.8 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006271/0.07692, allocations: 278.1 kB / 443.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.07692, allocations: 0 / 443.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of Templates: time 0.02418/0.1011, allocations: 19.29 MB / 462.4 MB, free: 3.262 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: 5.460508500225842]