Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.001286/0.001286, allocations: 119.9 kB / 17.79 MB, free: 5.285 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.001325/0.001325, allocations: 185.2 kB / 20.73 MB, free: 2.355 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.405/1.405, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.1799/0.1799, allocations: 38.51 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.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.31 kB / 478.6 MB, free: 33.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1011, allocations: 61.25 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00841/0.1095, allocations: 6.399 MB / 0.5335 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.112, allocations: 1.449 MB / 0.5349 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.1123, allocations: 27.81 kB / 0.5349 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.1128, allocations: 158.8 kB / 0.5351 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.1137, allocations: 429.9 kB / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1141, allocations: 211.6 kB / 0.5357 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.1154, allocations: 1.114 MB / 0.5368 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.1158, allocations: 276.7 kB / 0.537 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006516/0.1164, allocations: 482.1 kB / 0.5375 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.1173, allocations: 0.5801 MB / 0.5381 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1174, allocations: 64 kB / 0.5381 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1175, allocations: 68 kB / 0.5382 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.1178, allocations: 311.2 kB / 0.5385 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.1182, allocations: 370.3 kB / 0.5388 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009708/0.1192, allocations: 0.8795 MB / 0.5397 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1192, allocations: 0 / 0.5397 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1192, allocations: 0 / 0.5397 GB, free: 4.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1192, allocations: 0 / 0.5397 GB, free: 4.539 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002091/0.1213, allocations: 1.054 MB / 0.5407 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1214, allocations: 11.89 kB / 0.5407 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.1215, allocations: 98.7 kB / 0.5408 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1216, allocations: 80.47 kB / 0.5409 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.1228, allocations: 0.5928 MB / 0.5415 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.123, allocations: 116.6 kB / 0.5416 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1231, allocations: 56 kB / 0.5416 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.1245, allocations: 0.7888 MB / 0.5424 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1245, allocations: 0 / 0.5424 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.1246, allocations: 20 kB / 0.5424 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.1247, allocations: 40.97 kB / 0.5425 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1261, allocations: 0.6869 MB / 0.5431 GB, free: 0.8477 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.1307, allocations: 2.701 MB / 0.5458 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.1325, allocations: 0.862 MB / 0.5466 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.1331, allocations: 312.6 kB / 0.5469 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1331, allocations: 4 kB / 0.5469 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1331, allocations: 42.31 kB / 0.547 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=38): time 1.993e-06/0.1331, allocations: 0 / 0.547 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.003859/0.137, allocations: 1.955 MB / 0.5489 GB, free: 10.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1371, allocations: 88.98 kB / 0.549 GB, free: 10.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.1376, allocations: 425.9 kB / 0.5494 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.1376, allocations: 33.7 kB / 0.5494 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1378, allocations: 324.8 kB / 0.5497 GB, free: 9.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.138, allocations: 138.8 kB / 0.5498 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.1381, allocations: 94.23 kB / 0.5499 GB, free: 9.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1383, allocations: 358.8 kB / 0.5503 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.1388, allocations: 240.9 kB / 0.5505 GB, free: 8.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.1394, allocations: 350.3 kB / 0.5508 GB, free: 8.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1404, allocations: 0.5742 MB / 0.5514 GB, free: 7.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1404, allocations: 0 / 0.5514 GB, free: 7.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001485/0.1419, allocations: 0.7921 MB / 0.5522 GB, free: 7.148 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1419, allocations: 4 kB / 0.5522 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1419, allocations: 7.984 kB / 0.5522 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.1422, allocations: 77.89 kB / 0.5523 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.1436, allocations: 287.5 kB / 0.5525 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.1507, allocations: 6.513 MB / 0.5589 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.1511, allocations: 39.95 kB / 0.5589 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.1512, allocations: 23.94 kB / 0.5589 GB, free: 15.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003716/0.1515, allocations: 237.6 kB / 0.5592 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.1516, allocations: 55.73 kB / 0.5592 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.1531, allocations: 0.7221 MB / 0.5599 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1531, allocations: 8 kB / 0.5599 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1531, allocations: 4 kB / 0.5599 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1531, allocations: 3.984 kB / 0.5599 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.1559, allocations: 1.491 MB / 0.5614 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1559, allocations: 0 / 0.5614 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.1575, allocations: 303.6 kB / 0.5617 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.1577, allocations: 89.53 kB / 0.5618 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.1578, allocations: 19.97 kB / 0.5618 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1604, allocations: 3.157 MB / 0.5649 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1604, allocations: 7.969 kB / 0.5649 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1624, allocations: 1.119 MB / 0.566 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1625, allocations: 120.8 kB / 0.5661 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.1626, allocations: 11.94 kB / 0.5661 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.1629, allocations: 35.95 kB / 0.5661 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1631, allocations: 35.89 kB / 0.5662 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1631, allocations: 12 kB / 0.5662 GB, free: 7.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.1634, allocations: 295.1 kB / 0.5665 GB, free: 7.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 0.5665 GB, free: 7.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.1641, allocations: 140 kB / 0.5666 GB, free: 7.309 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/0.1664, allocations: 1.675 MB / 0.5682 GB, free: 5.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.169, allocations: 0.9732 MB / 0.5692 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.169, allocations: 0 / 0.5692 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.1709, allocations: 0.7159 MB / 0.5699 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.1718, allocations: 141.2 kB / 0.57 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/0.1801, allocations: 5.506 MB / 0.5754 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.1808, allocations: 0.9448 MB / 0.5763 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.1811, allocations: 104.5 kB / 0.5764 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.1815, allocations: 203.3 kB / 0.5766 GB, free: 12.69 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1815, allocations: 0 / 0.5766 GB, free: 12.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.2291, allocations: 12.95 MB / 0.5893 GB, free: 15.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.72, allocations: 5.469 kB / 0.5893 GB, free: 15.91 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.505309127271175] Failed to read output from testmodel.py, exit status != 0: 13.826965692918748 13.853213431 13.729504061 Calling exit ...