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.0013/0.0013, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001484/0.001484, allocations: 205.9 kB / 24.49 MB, free: 4.137 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.1777/0.1777, allocations: 38.52 MB / 353.2 MB, free: 12.61 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.001973/0.001973, allocations: 67.91 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2815, allocations: 62.46 MB / 0.5432 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008342/0.2898, allocations: 6.689 MB / 0.5498 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.2943, allocations: 2.51 MB / 0.5522 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.2948, allocations: 36.94 kB / 0.5522 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2961, allocations: 443.3 kB / 0.5527 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.2975, allocations: 0.6061 MB / 0.5533 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2987, allocations: 496.8 kB / 0.5537 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.3011, allocations: 1.967 MB / 0.5557 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.302, allocations: 0.5725 MB / 0.5562 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3035, allocations: 0.8106 MB / 0.557 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.3051, allocations: 1.037 MB / 0.558 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.3054, allocations: 160 kB / 0.5582 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3067, allocations: 0.6826 MB / 0.5588 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.3074, allocations: 0.6587 MB / 0.5595 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008347/0.3082, allocations: 0.6691 MB / 0.5601 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.3106, allocations: 2.052 MB / 0.5621 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3106, allocations: 4 kB / 0.5621 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3106, allocations: 0 / 0.5621 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3106, allocations: 0 / 0.5621 GB, free: 1.074 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.004735/0.3154, allocations: 1.859 MB / 0.564 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3154, allocations: 11.98 kB / 0.564 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008584/0.3162, allocations: 212 kB / 0.5642 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.3187, allocations: 0.9034 MB / 0.5651 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00098/0.3197, allocations: 1.113 MB / 0.5661 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.32, allocations: 111.9 kB / 0.5662 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.324, allocations: 2.015 MB / 0.5682 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.324, allocations: 0 / 0.5682 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3242, allocations: 35.98 kB / 0.5683 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.3244, allocations: 97.88 kB / 0.5683 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.3293, allocations: 2.24 MB / 0.5705 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.3397, allocations: 5.62 MB / 0.576 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/0.3442, allocations: 1.612 MB / 0.5776 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.3467, allocations: 1.066 MB / 0.5786 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/0.3468, allocations: 20.91 kB / 0.5787 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002935/0.3497, allocations: 1.387 MB / 0.58 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.026e-06/0.3497, allocations: 0 / 0.58 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01342/0.3631, allocations: 5.568 MB / 0.5854 GB, free: 8.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.3632, allocations: 102.1 kB / 0.5855 GB, free: 8.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.3638, allocations: 0.4902 MB / 0.586 GB, free: 8.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.364, allocations: 65.67 kB / 0.5861 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.3643, allocations: 365.5 kB / 0.5864 GB, free: 7.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.3647, allocations: 440.3 kB / 0.5869 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.3651, allocations: 226.9 kB / 0.5871 GB, free: 6.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3653, allocations: 398.8 kB / 0.5875 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.3675, allocations: 1.025 MB / 0.5885 GB, free: 5.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.3697, allocations: 1.168 MB / 0.5896 GB, free: 4.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.3738, allocations: 2.047 MB / 0.5916 GB, free: 2.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3738, allocations: 4 kB / 0.5916 GB, free: 2.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01115/0.3849, allocations: 3.876 MB / 0.5954 GB, free: 14.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.385, allocations: 61.67 kB / 0.5954 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.385, allocations: 4 kB / 0.5954 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006111/0.3911, allocations: 2.077 MB / 0.5975 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.3921, allocations: 183.7 kB / 0.5976 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/0.4185, allocations: 11.22 MB / 0.6086 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4198, allocations: 167.8 kB / 0.6088 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.42, allocations: 75.94 kB / 0.6088 GB, free: 432 kB / 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.0007035/0.4207, allocations: 377.4 kB / 0.6092 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.4209, allocations: 83.67 kB / 0.6093 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.4265, allocations: 2.365 MB / 0.6116 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/0.4265, allocations: 27.94 kB / 0.6116 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4265, allocations: 3.938 kB / 0.6116 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4265, allocations: 7.969 kB / 0.6116 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008722/0.4353, allocations: 4.073 MB / 0.6156 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.4353, allocations: 4 kB / 0.6156 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01052/0.4458, allocations: 2.013 MB / 0.6176 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.4458, allocations: 11.94 kB / 0.6176 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.446, allocations: 39.91 kB / 0.6176 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.446, allocations: 11.98 kB / 0.6176 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.446, allocations: 0 / 0.6176 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00856/0.4546, allocations: 3.859 MB / 0.6214 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/0.4555, allocations: 271.3 kB / 0.6217 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.4557, allocations: 91.88 kB / 0.6217 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.4571, allocations: 179.7 kB / 0.6219 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/0.4575, allocations: 200.7 kB / 0.6221 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.4576, allocations: 47.97 kB / 0.6222 GB, free: 2.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004625/0.4581, allocations: 342.8 kB / 0.6225 GB, free: 2.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4581, allocations: 0 / 0.6225 GB, free: 2.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00113/0.4592, allocations: 351.9 kB / 0.6228 GB, free: 1.953 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.0004212/0.4596, allocations: 220.6 kB / 0.623 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006689/0.4663, allocations: 2.81 MB / 0.6258 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/0.4663, allocations: 4 kB / 0.6258 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005916/0.4722, allocations: 1.809 MB / 0.6275 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4733, allocations: 184 kB / 0.6277 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.4811, allocations: 3.459 MB / 0.6311 GB, free: 9.375 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000948/0.4821, allocations: 1.148 MB / 0.6322 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/0.4827, allocations: 83.34 kB / 0.6323 GB, free: 8.121 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4827, allocations: 0 / 0.6323 GB, free: 8.121 MB / 478.1 MB Notification: Performance of Templates: time 0.02866/0.5114, allocations: 19.37 MB / 0.6512 GB, free: 4.797 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.6327216909267] Failed to read output from testmodel.py, exit status != 0: 0.5207172168884426 0.53568795 0.221830465 Calling exit ...