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.001354/0.001354, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001439/0.001439, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.208/0.208, allocations: 38.56 MB / 353.2 MB, free: 12.29 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 74.39 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3364, allocations: 62.46 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.009528/0.346, allocations: 6.224 MB / 0.5492 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005015/0.351, allocations: 2.329 MB / 0.5515 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.3517, allocations: 35.91 kB / 0.5516 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.3531, allocations: 432 kB / 0.552 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.3551, allocations: 0.5988 MB / 0.5525 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3566, allocations: 497.4 kB / 0.553 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.3595, allocations: 1.972 MB / 0.5549 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3605, allocations: 0.5532 MB / 0.5555 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.3623, allocations: 0.8159 MB / 0.5563 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.3641, allocations: 1.002 MB / 0.5573 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003144/0.3644, allocations: 160 kB / 0.5574 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.3657, allocations: 0.6553 MB / 0.5581 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007304/0.3665, allocations: 0.6548 MB / 0.5587 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008052/0.3673, allocations: 0.5682 MB / 0.5593 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.3697, allocations: 2.064 MB / 0.5613 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3697, allocations: 0 / 0.5613 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3697, allocations: 0 / 0.5613 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.761e-05/0.3698, allocations: 0 / 0.5613 GB, free: 1.613 MB / 398.1 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.005529/0.3753, allocations: 1.858 MB / 0.5631 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3753, allocations: 19.98 kB / 0.5631 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.3763, allocations: 200.1 kB / 0.5633 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.379, allocations: 0.9033 MB / 0.5642 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/0.38, allocations: 1.125 MB / 0.5653 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3803, allocations: 91.98 kB / 0.5654 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/0.3848, allocations: 2.026 MB / 0.5673 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.3848, allocations: 0 / 0.5673 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.3849, allocations: 36 kB / 0.5674 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/0.3852, allocations: 89.94 kB / 0.5675 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/0.3903, allocations: 2.244 MB / 0.5696 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.401, allocations: 5.157 MB / 0.5747 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/0.4058, allocations: 1.605 MB / 0.5763 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/0.4086, allocations: 1.066 MB / 0.5773 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.4087, allocations: 9 kB / 0.5773 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003094/0.4118, allocations: 1.387 MB / 0.5787 GB, free: 15.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.587e-06/0.4118, allocations: 4 kB / 0.5787 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.0143/0.4261, allocations: 5.561 MB / 0.5841 GB, free: 9.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.4262, allocations: 102.1 kB / 0.5842 GB, free: 9.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.4268, allocations: 445.7 kB / 0.5846 GB, free: 9.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.427, allocations: 65.67 kB / 0.5847 GB, free: 9.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.4273, allocations: 369.5 kB / 0.585 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/0.4278, allocations: 436.3 kB / 0.5854 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004296/0.4282, allocations: 226.9 kB / 0.5857 GB, free: 8.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.4284, allocations: 390.7 kB / 0.586 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.4305, allocations: 1.074 MB / 0.5871 GB, free: 6.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.4328, allocations: 1.217 MB / 0.5883 GB, free: 5.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.4371, allocations: 2.043 MB / 0.5903 GB, free: 3.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4371, allocations: 0 / 0.5903 GB, free: 3.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01172/0.4488, allocations: 3.925 MB / 0.5941 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.4489, allocations: 60.48 kB / 0.5942 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4489, allocations: 4 kB / 0.5942 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006236/0.4551, allocations: 2.069 MB / 0.5962 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.4562, allocations: 187.7 kB / 0.5964 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/0.4836, allocations: 11.08 MB / 0.6072 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.485, allocations: 163.8 kB / 0.6073 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.4852, allocations: 76.06 kB / 0.6074 GB, free: 1.535 MB / 446.1 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.0007399/0.486, allocations: 385.4 kB / 0.6078 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.4862, allocations: 75.53 kB / 0.6078 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/0.4921, allocations: 2.353 MB / 0.6101 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/0.4921, allocations: 31.94 kB / 0.6102 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4921, allocations: 3.938 kB / 0.6102 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.4921, allocations: 7.969 kB / 0.6102 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009042/0.5012, allocations: 3.754 MB / 0.6139 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.5012, allocations: 4 kB / 0.6139 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01122/0.5124, allocations: 2.017 MB / 0.6158 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/0.5124, allocations: 4 kB / 0.6158 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.5127, allocations: 35.97 kB / 0.6159 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.5127, allocations: 11.94 kB / 0.6159 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5128, allocations: 4 kB / 0.6159 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00901/0.5218, allocations: 3.867 MB / 0.6197 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.5227, allocations: 255.4 kB / 0.6199 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.523, allocations: 87.94 kB / 0.62 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.5244, allocations: 187.7 kB / 0.6202 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.5248, allocations: 200.6 kB / 0.6204 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.525, allocations: 39.97 kB / 0.6204 GB, free: 4.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004175/0.5254, allocations: 299.1 kB / 0.6207 GB, free: 3.816 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5254, allocations: 0 / 0.6207 GB, free: 3.816 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001202/0.5266, allocations: 355.9 kB / 0.621 GB, free: 3.469 MB / 462.1 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.0004461/0.527, allocations: 220.6 kB / 0.6212 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007031/0.5341, allocations: 2.831 MB / 0.624 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.5341, allocations: 256 / 0.624 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/0.5403, allocations: 1.813 MB / 0.6258 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5415, allocations: 156.1 kB / 0.6259 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.5497, allocations: 3.44 MB / 0.6293 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.5504, allocations: 0.545 MB / 0.6298 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/0.551, allocations: 75.42 kB / 0.6299 GB, free: 10.26 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.551, allocations: 3.938 kB / 0.6299 GB, free: 10.25 MB / 478.1 MB Notification: Performance of Templates: time 0.0297/0.5807, allocations: 19.22 MB / 0.6486 GB, free: 7.066 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.955529026687145] Failed to read output from testmodel.py, exit status != 0: 0.5906359143555164 0.6051257050000001 0.231963246 Calling exit ...