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.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.001669/0.001669, 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.00184/0.00184, 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.5/1.5, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.1899/0.1899, allocations: 38.49 MB / 342.5 MB, free: 8.031 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.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.25 kB / 478.6 MB, free: 33.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1226, allocations: 61.24 MB / 0.5272 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008832/0.1315, allocations: 6.756 MB / 0.5338 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.1351, allocations: 2.122 MB / 0.5359 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.1355, allocations: 23.88 kB / 0.5359 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.1369, allocations: 0.5246 MB / 0.5364 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1381, allocations: 0.5639 MB / 0.537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.1389, allocations: 351.3 kB / 0.5373 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1403, allocations: 1.298 MB / 0.5386 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.1411, allocations: 0.5918 MB / 0.5391 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.1419, allocations: 0.5527 MB / 0.5397 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.1429, allocations: 0.7751 MB / 0.5404 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.1431, allocations: 108 kB / 0.5405 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1441, allocations: 0.628 MB / 0.5412 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.1446, allocations: 494.8 kB / 0.5416 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.1451, allocations: 0.5289 MB / 0.5421 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.1468, allocations: 1.534 MB / 0.5436 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1468, allocations: 0 / 0.5436 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1468, allocations: 0 / 0.5436 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.1468, allocations: 0 / 0.5436 GB, free: 480 kB / 398.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.002977/0.1498, allocations: 1.407 MB / 0.545 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1498, allocations: 11.89 kB / 0.545 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.15, allocations: 139.8 kB / 0.5452 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.1507, allocations: 144.3 kB / 0.5453 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.1522, allocations: 0.6924 MB / 0.546 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.1524, allocations: 173.5 kB / 0.5461 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.1526, allocations: 83.98 kB / 0.5462 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.1549, allocations: 1.41 MB / 0.5476 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.155, allocations: 3.938 kB / 0.5476 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/0.155, allocations: 35.98 kB / 0.5476 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.1553, allocations: 85.88 kB / 0.5477 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.158, allocations: 1.518 MB / 0.5492 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007639/0.1657, allocations: 4.424 MB / 0.5535 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.1679, allocations: 1.111 MB / 0.5546 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.1692, allocations: 0.7113 MB / 0.5553 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.1692, allocations: 16.59 kB / 0.5553 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1693, allocations: 51.16 kB / 0.5554 GB, free: 4.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 4.689e-06/0.1693, allocations: 3.984 kB / 0.5554 GB, free: 4.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007047/0.1763, allocations: 3.856 MB / 0.5591 GB, free: 200 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.1764, allocations: 97.98 kB / 0.5592 GB, free: 80 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.1769, allocations: 405.8 kB / 0.5596 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.177, allocations: 41.7 kB / 0.5597 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1773, allocations: 353.1 kB / 0.56 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.1776, allocations: 364.8 kB / 0.5603 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.1779, allocations: 170.6 kB / 0.5605 GB, free: 14.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.1782, allocations: 378.8 kB / 0.5609 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.1792, allocations: 0.5875 MB / 0.5614 GB, free: 13.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.1805, allocations: 0.7386 MB / 0.5622 GB, free: 12.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.1827, allocations: 1.387 MB / 0.5635 GB, free: 11.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1827, allocations: 4 kB / 0.5635 GB, free: 11.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002877/0.1856, allocations: 1.592 MB / 0.5651 GB, free: 9.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1856, allocations: 11.94 kB / 0.5651 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.1856, allocations: 4 kB / 0.5651 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.1858, allocations: 45.02 kB / 0.5651 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.1882, allocations: 0.4953 MB / 0.5656 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/0.1953, allocations: 6.69 MB / 0.5721 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008448/0.1961, allocations: 79.89 kB / 0.5722 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.1962, allocations: 32 kB / 0.5723 GB, free: 2.02 MB / 430.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.0005697/0.1968, allocations: 321.4 kB / 0.5726 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.197, allocations: 67.58 kB / 0.5726 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.1999, allocations: 1.592 MB / 0.5742 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.534e-05/0.1999, allocations: 27.97 kB / 0.5742 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1999, allocations: 0 / 0.5742 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1999, allocations: 7.938 kB / 0.5742 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.2049, allocations: 2.873 MB / 0.577 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2049, allocations: 0 / 0.577 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/0.2076, allocations: 0.5307 MB / 0.5775 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.2077, allocations: 32.84 kB / 0.5776 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.2078, allocations: 28.02 kB / 0.5776 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.2091, allocations: 1.634 MB / 0.5792 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.2091, allocations: 11.88 kB / 0.5792 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/0.2133, allocations: 2.54 MB / 0.5817 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.2134, allocations: 140.6 kB / 0.5818 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2135, allocations: 23.98 kB / 0.5818 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.2141, allocations: 67.91 kB / 0.5819 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.2143, allocations: 84.42 kB / 0.582 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.2144, allocations: 24 kB / 0.582 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.2147, allocations: 279.1 kB / 0.5823 GB, free: 7.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2147, allocations: 0 / 0.5823 GB, free: 7.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008581/0.2156, allocations: 247.8 kB / 0.5825 GB, free: 7.156 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.00456/0.2201, allocations: 3.149 MB / 0.5856 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.2243, allocations: 1.767 MB / 0.5873 GB, free: 2.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.2243, allocations: 0 / 0.5873 GB, free: 2.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.227, allocations: 1.139 MB / 0.5884 GB, free: 1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.2279, allocations: 159.4 kB / 0.5886 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.2426, allocations: 9.122 MB / 0.5975 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.2434, allocations: 1.087 MB / 0.5985 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007967/0.2442, allocations: 269.6 kB / 0.5988 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.2447, allocations: 291.3 kB / 0.5991 GB, free: 5.797 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2447, allocations: 0 / 0.5991 GB, free: 5.797 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/0.5435, allocations: 18.11 MB / 0.6168 GB, free: 71.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.8, allocations: 8.109 kB / 0.6168 GB, free: 71.41 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.96336537692696] Failed to read output from testmodel.py, exit status != 0: 13.907945045270026 13.924914162 13.774953471 Calling exit ...