Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.001782/0.001782, allocations: 121 kB / 18.5 MB, free: 4.562 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.002135/0.002135, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.553/1.553, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2331/0.2331, allocations: 38.51 MB / 349.4 MB, free: 2.59 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.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [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.001974/0.001974, allocations: 63.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1346, allocations: 62.43 MB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01041/0.145, allocations: 6.754 MB / 0.544 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.1499, allocations: 2.173 MB / 0.5461 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.1505, allocations: 31.75 kB / 0.5461 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.152, allocations: 0.5168 MB / 0.5466 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1534, allocations: 0.5756 MB / 0.5472 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.1544, allocations: 347.3 kB / 0.5475 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1559, allocations: 1.298 MB / 0.5488 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008706/0.1568, allocations: 0.5957 MB / 0.5494 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009045/0.1577, allocations: 0.5684 MB / 0.5499 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.1588, allocations: 0.7713 MB / 0.5507 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.159, allocations: 104 kB / 0.5508 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1602, allocations: 0.6435 MB / 0.5514 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.1607, allocations: 486.8 kB / 0.5519 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006713/0.1614, allocations: 0.5251 MB / 0.5524 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.1634, allocations: 1.553 MB / 0.5539 GB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1634, allocations: 0 / 0.5539 GB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1634, allocations: 0 / 0.5539 GB, free: 6.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.1634, allocations: 0 / 0.5539 GB, free: 6.531 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003638/0.1671, allocations: 1.401 MB / 0.5553 GB, free: 5.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1671, allocations: 8.031 kB / 0.5553 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.467e-05/0.1672, allocations: 22.19 kB / 0.5553 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.1674, allocations: 147.8 kB / 0.5554 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/0.1683, allocations: 172.2 kB / 0.5556 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1697, allocations: 0.6924 MB / 0.5563 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.17, allocations: 187.1 kB / 0.5564 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.1702, allocations: 84 kB / 0.5565 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.1728, allocations: 1.402 MB / 0.5579 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.1728, allocations: 0 / 0.5579 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1729, allocations: 31.98 kB / 0.5579 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/0.1731, allocations: 85.94 kB / 0.558 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.1761, allocations: 1.522 MB / 0.5595 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007717/0.1838, allocations: 4.424 MB / 0.5638 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.1863, allocations: 1.128 MB / 0.5649 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.1878, allocations: 0.7113 MB / 0.5656 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.1878, allocations: 8.656 kB / 0.5656 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.1879, allocations: 47.2 kB / 0.5657 GB, free: 10.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 3.227e-06/0.1879, allocations: 0 / 0.5657 GB, free: 10.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.007953/0.1958, allocations: 3.864 MB / 0.5694 GB, free: 6.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1959, allocations: 86.11 kB / 0.5695 GB, free: 6.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.1964, allocations: 401.9 kB / 0.5699 GB, free: 5.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/0.1965, allocations: 45.73 kB / 0.5699 GB, free: 5.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.1968, allocations: 353.1 kB / 0.5703 GB, free: 5.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.1971, allocations: 368.8 kB / 0.5706 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.1974, allocations: 162.6 kB / 0.5708 GB, free: 4.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.1976, allocations: 374.8 kB / 0.5711 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.1989, allocations: 0.5992 MB / 0.5717 GB, free: 3.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.2002, allocations: 0.7463 MB / 0.5725 GB, free: 3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.2028, allocations: 1.387 MB / 0.5738 GB, free: 1.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2028, allocations: 3.938 kB / 0.5738 GB, free: 1.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003233/0.206, allocations: 1.6 MB / 0.5754 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.2061, allocations: 16.02 kB / 0.5754 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.2061, allocations: 4 kB / 0.5754 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.2063, allocations: 32.84 kB / 0.5754 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.209, allocations: 0.4953 MB / 0.5759 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008206/0.2172, allocations: 6.694 MB / 0.5825 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/0.2182, allocations: 79.89 kB / 0.5825 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2183, allocations: 32 kB / 0.5826 GB, free: 8.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006145/0.2189, allocations: 321.7 kB / 0.5829 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.2191, allocations: 71.52 kB / 0.5829 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.2223, allocations: 1.588 MB / 0.5845 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/0.2223, allocations: 27.94 kB / 0.5845 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2224, allocations: 0 / 0.5845 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.2224, allocations: 3.984 kB / 0.5845 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.2276, allocations: 2.873 MB / 0.5873 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.2276, allocations: 4 kB / 0.5873 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/0.2307, allocations: 0.5346 MB / 0.5878 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.2309, allocations: 40.77 kB / 0.5879 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-05/0.231, allocations: 20 kB / 0.5879 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.2326, allocations: 1.642 MB / 0.5895 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.2326, allocations: 4 kB / 0.5895 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2759/0.5085, allocations: 2.532 MB / 0.592 GB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.5087, allocations: 135.5 kB / 0.5921 GB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5089, allocations: 23.95 kB / 0.5921 GB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.5096, allocations: 70.38 kB / 0.5922 GB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.5098, allocations: 85.17 kB / 0.5923 GB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.5099, allocations: 23.38 kB / 0.5923 GB, free: 50.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.5103, allocations: 279.6 kB / 0.5926 GB, free: 50.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5103, allocations: 0 / 0.5926 GB, free: 50.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001028/0.5113, allocations: 238.6 kB / 0.5928 GB, free: 50.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00542/0.5167, allocations: 3.148 MB / 0.5959 GB, free: 49.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005088/0.5218, allocations: 1.755 MB / 0.5976 GB, free: 48.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5218, allocations: 0 / 0.5976 GB, free: 48.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003505/0.5253, allocations: 1.133 MB / 0.5987 GB, free: 48.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5265, allocations: 162 kB / 0.5989 GB, free: 48.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.5433, allocations: 9.133 MB / 0.6078 GB, free: 43.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.5443, allocations: 1.088 MB / 0.6088 GB, free: 43.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.5454, allocations: 265 kB / 0.6091 GB, free: 43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.5459, allocations: 297 kB / 0.6094 GB, free: 42.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5459, allocations: 0 / 0.6094 GB, free: 42.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05144/0.5974, allocations: 18.16 MB / 0.6271 GB, free: 29.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.37, allocations: 18.48 kB / 0.6271 GB, free: 29.46 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.505284830986056] Failed to read output from testmodel.py, exit status != 0: 14.53458698297618 14.544186351 14.378614999 Calling exit ...