Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.001201/0.001201, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.004402/0.004402, allocations: 164.9 kB / 24.99 MB, free: 8.848 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.42 MB / 291.2 MB, free: 2.496 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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.979e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005744/0.005764, allocations: 6.593 MB / 376.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.008985, allocations: 2.399 MB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.009352, allocations: 35.69 kB / 378.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.01027, allocations: 433.8 kB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.01129, allocations: 0.6217 MB / 379.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008538/0.01215, allocations: 0.5066 MB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.01361, allocations: 1.964 MB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.01428, allocations: 0.5722 MB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.01567, allocations: 1.052 MB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.01681, allocations: 0.9745 MB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.01717, allocations: 160 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.01792, allocations: 0.6513 MB / 385.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.01837, allocations: 0.6859 MB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.01883, allocations: 0.5029 MB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.02039, allocations: 1.547 MB / 388.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.02039, allocations: 4 kB / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.02039, allocations: 0 / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.305e-05/0.02042, allocations: 0 / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00284/0.02326, allocations: 1.923 MB / 390.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.0233, allocations: 11.98 kB / 390.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.02405, allocations: 316 kB / 390.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.02534, allocations: 0.8898 MB / 391.4 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/0.02584, allocations: 1.097 MB / 392.5 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.02603, allocations: 100.5 kB / 392.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.02755, allocations: 1.14 MB / 393.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.02757, allocations: 0 / 393.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.02766, allocations: 35.98 kB / 393.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.02779, allocations: 93.94 kB / 393.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.02901, allocations: 0.7845 MB / 394.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005076/0.03408, allocations: 4.574 MB / 399.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.03532, allocations: 0.6956 MB / 400 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.0359, allocations: 402.2 kB / 400.3 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.03596, allocations: 17 kB / 400.4 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008113/0.03678, allocations: 0.7037 MB / 401.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 2.484e-06/0.03678, allocations: 4 kB / 401.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.003803/0.04058, allocations: 2.462 MB / 403.5 MB, free: 8.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.04064, allocations: 102.1 kB / 403.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.04103, allocations: 454.5 kB / 404.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.783e-05/0.04111, allocations: 61.81 kB / 404.1 MB, free: 8.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.04137, allocations: 424.2 kB / 404.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.04167, allocations: 436.4 kB / 405 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.04196, allocations: 232.5 kB / 405.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.04214, allocations: 0.5742 MB / 405.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.04272, allocations: 424.1 kB / 406.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.04337, allocations: 0.6205 MB / 406.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.04443, allocations: 0.8925 MB / 407.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.04444, allocations: 0 / 407.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00369/0.04813, allocations: 2.101 MB / 409.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.04818, allocations: 57.94 kB / 409.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.04819, allocations: 4 kB / 409.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/0.05188, allocations: 1.909 MB / 411.8 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.05237, allocations: 199.7 kB / 412 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/0.05891, allocations: 4.245 MB / 416.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.05956, allocations: 135.7 kB / 416.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.05968, allocations: 75.88 kB / 416.4 MB, free: 11.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (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],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.06007, allocations: 240.3 kB / 416.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.0603, allocations: 123.5 kB / 416.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.0618, allocations: 1.077 MB / 417.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.06183, allocations: 31.92 kB / 417.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.06183, allocations: 4 kB / 417.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.06184, allocations: 8.031 kB / 417.9 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.06473, allocations: 2.156 MB / 420.1 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.06474, allocations: 4 kB / 420.1 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00378/0.06852, allocations: 1.358 MB / 421.4 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.06853, allocations: 4 kB / 421.4 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.06862, allocations: 35.97 kB / 421.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.06863, allocations: 15.98 kB / 421.5 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.06863, allocations: 4 kB / 421.5 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.07081, allocations: 1.652 MB / 423.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.07121, allocations: 243.3 kB / 423.4 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.07136, allocations: 75.95 kB / 423.4 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.07189, allocations: 135.8 kB / 423.6 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.0722, allocations: 220.5 kB / 423.8 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.07227, allocations: 35.97 kB / 423.8 MB, free: 3.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.0725, allocations: 291 kB / 424.1 MB, free: 3.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0725, allocations: 0 / 424.1 MB, free: 3.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009069/0.07341, allocations: 351.9 kB / 424.4 MB, free: 3.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,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]) * 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 (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003344/0.07374, allocations: 224.9 kB / 424.7 MB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.07614, allocations: 1.567 MB / 426.2 MB, free: 1.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.07614, allocations: 0 / 426.2 MB, free: 1.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.07789, allocations: 0.832 MB / 427.1 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.07853, allocations: 196.5 kB / 427.3 MB, free: 500 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.08274, allocations: 2.571 MB / 429.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.08295, allocations: 285.9 kB / 430.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.08346, allocations: 214.5 kB / 430.3 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.08374, allocations: 76.47 kB / 430.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.08375, allocations: 0 / 430.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of Templates: time 0.1438/0.2276, allocations: 22.78 MB / 453.2 MB, free: 108.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.136277688900009]