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.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.001476/0.001476, 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.001669/0.001669, 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.526/1.526, 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.2345/0.2345, allocations: 38.5 MB / 349.4 MB, free: 2.582 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.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_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.002918/0.002918, allocations: 75.88 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1368, allocations: 62.4 MB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00954/0.1463, allocations: 6.419 MB / 0.5436 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.1493, allocations: 1.48 MB / 0.5451 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.1496, allocations: 31.69 kB / 0.5451 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.1501, allocations: 158.8 kB / 0.5452 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1512, allocations: 425.9 kB / 0.5457 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.1517, allocations: 219.6 kB / 0.5459 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.1533, allocations: 1.118 MB / 0.547 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.1538, allocations: 280.6 kB / 0.5472 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.1546, allocations: 490.2 kB / 0.5477 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009699/0.1556, allocations: 0.5723 MB / 0.5483 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1557, allocations: 68 kB / 0.5483 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1559, allocations: 64 kB / 0.5484 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.1562, allocations: 323.1 kB / 0.5487 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.1566, allocations: 374.3 kB / 0.549 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1577, allocations: 0.8679 MB / 0.5499 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1577, allocations: 0 / 0.5499 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1577, allocations: 0 / 0.5499 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1577, allocations: 0 / 0.5499 GB, free: 10.64 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002368/0.1601, allocations: 1.046 MB / 0.5509 GB, free: 9.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1601, allocations: 12.03 kB / 0.5509 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.439e-05/0.1601, allocations: 13.5 kB / 0.5509 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.1604, allocations: 102.7 kB / 0.551 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1605, allocations: 84.41 kB / 0.5511 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.1618, allocations: 0.5965 MB / 0.5517 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.162, allocations: 116.7 kB / 0.5518 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1621, allocations: 55.98 kB / 0.5519 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1636, allocations: 0.7811 MB / 0.5526 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1636, allocations: 4 kB / 0.5526 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.1637, allocations: 27.97 kB / 0.5527 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.1638, allocations: 32.98 kB / 0.5527 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.1652, allocations: 0.6985 MB / 0.5534 GB, free: 6.926 MB / 414.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.004517/0.1698, allocations: 2.689 MB / 0.556 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.1717, allocations: 0.8543 MB / 0.5568 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.1724, allocations: 317.3 kB / 0.5571 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.1724, allocations: 7.938 kB / 0.5571 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.1725, allocations: 38.53 kB / 0.5572 GB, free: 2.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=38): time 2.355e-06/0.1725, allocations: 4 kB / 0.5572 GB, free: 2.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.004502/0.177, allocations: 1.957 MB / 0.5591 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.177, allocations: 85.09 kB / 0.5592 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.1776, allocations: 418 kB / 0.5596 GB, free: 272 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.1776, allocations: 29.7 kB / 0.5596 GB, free: 236 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.1779, allocations: 333 kB / 0.5599 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.178, allocations: 142.8 kB / 0.5601 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.1782, allocations: 82.25 kB / 0.5601 GB, free: 15.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1784, allocations: 358.8 kB / 0.5605 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.1789, allocations: 237 kB / 0.5607 GB, free: 15.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.1796, allocations: 354.2 kB / 0.561 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.1808, allocations: 0.5859 MB / 0.5616 GB, free: 14.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1808, allocations: 4 kB / 0.5616 GB, free: 14.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00172/0.1825, allocations: 0.7881 MB / 0.5624 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1825, allocations: 4 kB / 0.5624 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1825, allocations: 4.375 kB / 0.5624 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.1828, allocations: 81.61 kB / 0.5625 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.1843, allocations: 283.6 kB / 0.5627 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.1918, allocations: 6.509 MB / 0.5691 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.1922, allocations: 43.89 kB / 0.5691 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.1922, allocations: 12 kB / 0.5691 GB, free: 5.738 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.0003721/0.1926, allocations: 253.6 kB / 0.5694 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1927, allocations: 47.67 kB / 0.5694 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.1943, allocations: 0.7261 MB / 0.5701 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1943, allocations: 7.938 kB / 0.5702 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1943, allocations: 4 kB / 0.5702 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1943, allocations: 3.938 kB / 0.5702 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.1971, allocations: 1.496 MB / 0.5716 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1971, allocations: 0 / 0.5716 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.1988, allocations: 303.6 kB / 0.5719 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.1991, allocations: 89.62 kB / 0.572 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.1991, allocations: 15.94 kB / 0.572 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.2019, allocations: 3.165 MB / 0.5751 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2019, allocations: 4.031 kB / 0.5751 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.204, allocations: 1.123 MB / 0.5762 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.2042, allocations: 120.8 kB / 0.5763 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.2042, allocations: 12 kB / 0.5763 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.2046, allocations: 32 kB / 0.5764 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2047, allocations: 43.88 kB / 0.5764 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.2047, allocations: 8 kB / 0.5764 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.2051, allocations: 303.1 kB / 0.5767 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2051, allocations: 0 / 0.5767 GB, free: 13.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006742/0.2058, allocations: 140 kB / 0.5768 GB, free: 13.39 MB / 446.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.002466/0.2083, allocations: 1.666 MB / 0.5785 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.2111, allocations: 0.9664 MB / 0.5794 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2111, allocations: 4.062 kB / 0.5794 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.2132, allocations: 0.7156 MB / 0.5801 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.2141, allocations: 147.5 kB / 0.5802 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008763/0.2228, allocations: 5.509 MB / 0.5856 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.2235, allocations: 0.9487 MB / 0.5866 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.2239, allocations: 100.5 kB / 0.5866 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.2243, allocations: 199.4 kB / 0.5868 GB, free: 2.766 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2243, allocations: 0 / 0.5868 GB, free: 2.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/0.5155, allocations: 12.98 MB / 0.5995 GB, free: 50.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.18, allocations: 8.281 kB / 0.5995 GB, free: 50.62 MB / 446.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: 17.577466543007176] Failed to read output from testmodel.py, exit status != 0: 14.3409648599918 14.362256966 14.200366947 Calling exit ...