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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.1829/0.1829, allocations: 38.5 MB / 342.5 MB, free: 8.066 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 68.61 kB / 478.6 MB, free: 33.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1212, allocations: 61.25 MB / 0.5272 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.00897/0.1302, allocations: 6.555 MB / 0.5336 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006071/0.1362, allocations: 2.442 MB / 0.536 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.137, allocations: 27.88 kB / 0.536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.1386, allocations: 445.8 kB / 0.5365 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.1407, allocations: 0.5989 MB / 0.537 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1421, allocations: 495 kB / 0.5375 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.1447, allocations: 1.965 MB / 0.5394 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.1459, allocations: 0.7127 MB / 0.5401 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.1475, allocations: 0.7908 MB / 0.5409 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.1492, allocations: 1.032 MB / 0.5419 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.1495, allocations: 160 kB / 0.5421 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.1508, allocations: 0.6748 MB / 0.5427 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008201/0.1516, allocations: 0.647 MB / 0.5433 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009011/0.1525, allocations: 0.6692 MB / 0.544 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.1552, allocations: 2.06 MB / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1552, allocations: 0 / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1552, allocations: 0 / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.1553, allocations: 0 / 0.546 GB, free: 13.97 MB / 414.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.005182/0.1605, allocations: 1.93 MB / 0.5479 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1605, allocations: 15.89 kB / 0.5479 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.1607, allocations: 164.4 kB / 0.5481 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.1615, allocations: 164.2 kB / 0.5482 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.1641, allocations: 0.9794 MB / 0.5492 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006845/0.1648, allocations: 0.4986 MB / 0.5497 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.1651, allocations: 107.9 kB / 0.5498 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.1694, allocations: 2.007 MB / 0.5517 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.1694, allocations: 0 / 0.5517 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.1695, allocations: 39.98 kB / 0.5518 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002372/0.1698, allocations: 93.88 kB / 0.5519 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.1748, allocations: 2.24 MB / 0.554 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.1856, allocations: 5.669 MB / 0.5596 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.19, allocations: 1.692 MB / 0.5612 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/0.1926, allocations: 1.066 MB / 0.5623 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.6e-05/0.1926, allocations: 12.91 kB / 0.5623 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002991/0.1956, allocations: 1.387 MB / 0.5636 GB, free: 11.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.256e-06/0.1956, allocations: 3.938 kB / 0.5636 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01366/0.2093, allocations: 5.651 MB / 0.5692 GB, free: 5.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.2094, allocations: 102.1 kB / 0.5693 GB, free: 5.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.2101, allocations: 497.9 kB / 0.5697 GB, free: 5.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.2102, allocations: 57.69 kB / 0.5698 GB, free: 5.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.2106, allocations: 377.6 kB / 0.5702 GB, free: 4.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.211, allocations: 440.3 kB / 0.5706 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/0.2116, allocations: 226.9 kB / 0.5708 GB, free: 4.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.2118, allocations: 390.8 kB / 0.5712 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.214, allocations: 1.033 MB / 0.5722 GB, free: 2.641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.2163, allocations: 1.176 MB / 0.5733 GB, free: 1.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.2204, allocations: 2.039 MB / 0.5753 GB, free: 15.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2204, allocations: 0 / 0.5753 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01153/0.2319, allocations: 3.884 MB / 0.5791 GB, free: 11.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.2321, allocations: 69.92 kB / 0.5792 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.2321, allocations: 0 / 0.5792 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.2384, allocations: 2.074 MB / 0.5812 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.2394, allocations: 183.7 kB / 0.5814 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02656/0.266, allocations: 11.32 MB / 0.5924 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.2676, allocations: 163.8 kB / 0.5926 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00044/0.268, allocations: 71.94 kB / 0.5926 GB, free: 13.41 MB / 462.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.001229/0.2692, allocations: 377.4 kB / 0.593 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/0.2698, allocations: 87.47 kB / 0.5931 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00644/0.2762, allocations: 2.361 MB / 0.5954 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/0.2763, allocations: 27.94 kB / 0.5954 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2763, allocations: 128 / 0.5954 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.2763, allocations: 11.97 kB / 0.5954 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.2865, allocations: 4.105 MB / 0.5994 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.2865, allocations: 4 kB / 0.5994 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0102/0.2967, allocations: 2.017 MB / 0.6014 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.737e-05/0.2967, allocations: 11.94 kB / 0.6014 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003608/0.2971, allocations: 43.95 kB / 0.6015 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.2971, allocations: 7.938 kB / 0.6015 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2971, allocations: 4 kB / 0.6015 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/0.3059, allocations: 3.859 MB / 0.6053 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009293/0.3068, allocations: 340.4 kB / 0.6056 GB, free: 0 / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005765/0.3074, allocations: 85.72 kB / 0.6057 GB, free: 74.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.3091, allocations: 188.8 kB / 0.6058 GB, free: 74.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005864/0.3097, allocations: 193.2 kB / 0.606 GB, free: 74.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.3099, allocations: 40.67 kB / 0.6061 GB, free: 74.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000575/0.3104, allocations: 345.4 kB / 0.6064 GB, free: 74.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3104, allocations: 0 / 0.6064 GB, free: 74.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001491/0.3119, allocations: 355.1 kB / 0.6067 GB, free: 74.48 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.009295/0.3212, allocations: 4.536 MB / 0.6112 GB, free: 73.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006096/0.3273, allocations: 2.811 MB / 0.6139 GB, free: 72.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.3273, allocations: 0 / 0.6139 GB, free: 72.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005677/0.333, allocations: 1.853 MB / 0.6157 GB, free: 71.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3343, allocations: 179.5 kB / 0.6159 GB, free: 71.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03398/0.3683, allocations: 15.65 MB / 0.6312 GB, free: 63.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.3689, allocations: 1.148 MB / 0.6323 GB, free: 62.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009764/0.3699, allocations: 314.8 kB / 0.6326 GB, free: 62.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.3705, allocations: 351.3 kB / 0.6329 GB, free: 61.75 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3705, allocations: 0 / 0.6329 GB, free: 61.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06045/0.4309, allocations: 32.91 MB / 0.6651 GB, free: 29.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/13.91, allocations: 6.812 kB / 0.6651 GB, free: 29.04 MB / 462.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.724762447644025] Failed to read output from testmodel.py, exit status != 0: 14.275744908954948 14.294412285 14.135660649 Calling exit ...