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.001276/0.001276, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001447/0.001447, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9861/0.9861, allocations: 177.1 MB / 205 MB, free: 5.621 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.2616/0.2616, allocations: 29.42 MB / 290.9 MB, free: 2.516 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.353e-06/1.353e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.012e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005434/0.005454, allocations: 5.818 MB / 375.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.009445, allocations: 2.403 MB / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.009871, allocations: 35.69 kB / 377.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.0106, allocations: 250.4 kB / 378.1 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.01187, allocations: 0.6023 MB / 378.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.01301, allocations: 0.5221 MB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.01509, allocations: 1.953 MB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008221/0.01591, allocations: 0.5761 MB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.01801, allocations: 1.103 MB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.0192, allocations: 0.8965 MB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.01948, allocations: 140 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.02055, allocations: 0.6395 MB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006394/0.02119, allocations: 0.6548 MB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.02188, allocations: 491 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.02386, allocations: 1.472 MB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.02386, allocations: 0 / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02386, allocations: 0 / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.0239, allocations: 4 kB / 387.2 MB, free: 9.375 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.003559/0.02745, allocations: 1.865 MB / 389 MB, free: 7.441 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.0275, allocations: 15.98 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.02852, allocations: 312 kB / 389.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.02969, allocations: 0.7474 MB / 390.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006922/0.03038, allocations: 1.09 MB / 391.2 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.03063, allocations: 96.52 kB / 391.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.03277, allocations: 1.148 MB / 392.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.0328, allocations: 0 / 392.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.03291, allocations: 32 kB / 392.5 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.03309, allocations: 93.94 kB / 392.6 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.03488, allocations: 0.7767 MB / 393.3 MB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006667/0.04155, allocations: 4.582 MB / 397.9 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.04315, allocations: 0.6967 MB / 398.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/0.04392, allocations: 406.2 kB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.044, allocations: 20.98 kB / 399 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008454/0.04484, allocations: 0.7037 MB / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 2.615e-06/0.04484, allocations: 0 / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.003483/0.04833, allocations: 2.459 MB / 402.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.04838, allocations: 110 kB / 402.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.04868, allocations: 454.5 kB / 402.8 MB, free: 9.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.04876, allocations: 57.69 kB / 402.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.04895, allocations: 420.2 kB / 403.2 MB, free: 8.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.04928, allocations: 440.3 kB / 403.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.04955, allocations: 232.5 kB / 403.9 MB, free: 8.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.04971, allocations: 0.582 MB / 404.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.05025, allocations: 424.1 kB / 404.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.05086, allocations: 0.6089 MB / 405.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.05187, allocations: 0.8924 MB / 406.4 MB, free: 5.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.05187, allocations: 3.984 kB / 406.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003557/0.05543, allocations: 2.058 MB / 408.4 MB, free: 3.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.05548, allocations: 57.69 kB / 408.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.05549, allocations: 4 kB / 408.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.0587, allocations: 1.722 MB / 410.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.05915, allocations: 195.7 kB / 410.4 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.06551, allocations: 4.21 MB / 414.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.06599, allocations: 123.8 kB / 414.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.0661, allocations: 75.92 kB / 414.8 MB, free: 12.82 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.0002581/0.06636, allocations: 248.3 kB / 415.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.06655, allocations: 127.5 kB / 415.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.06791, allocations: 1.065 MB / 416.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.06794, allocations: 31.94 kB / 416.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.06794, allocations: 0 / 416.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.06795, allocations: 11.97 kB / 416.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.07074, allocations: 2.16 MB / 418.4 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.07074, allocations: 0 / 418.4 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003679/0.07442, allocations: 1.354 MB / 419.8 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.07443, allocations: 12 kB / 419.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.07452, allocations: 39.95 kB / 419.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.07453, allocations: 4 kB / 419.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.07453, allocations: 4.062 kB / 419.9 MB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.07652, allocations: 1.66 MB / 421.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.07684, allocations: 251.2 kB / 421.8 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.07699, allocations: 83.94 kB / 421.8 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.07748, allocations: 123.8 kB / 422 MB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.07777, allocations: 220.5 kB / 422.2 MB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.07784, allocations: 39.97 kB / 422.2 MB, free: 5.254 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.07803, allocations: 291 kB / 422.5 MB, free: 4.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07803, allocations: 0 / 422.5 MB, free: 4.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006743/0.07871, allocations: 355.9 kB / 422.9 MB, free: 4.621 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.0003062/0.07901, allocations: 220.8 kB / 423.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.08114, allocations: 1.564 MB / 424.6 MB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.08114, allocations: 0 / 424.6 MB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.08309, allocations: 0.8281 MB / 425.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.0837, allocations: 201.4 kB / 425.7 MB, free: 1.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.08756, allocations: 2.57 MB / 428.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.08776, allocations: 281.9 kB / 428.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004538/0.08822, allocations: 218.5 kB / 428.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.0885, allocations: 76.48 kB / 428.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.041e-06/0.0885, allocations: 4 kB / 428.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of Templates: time 0.1462/0.2347, allocations: 23.66 MB / 452.5 MB, free: 100.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: 3.8907118211500347]