Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001853/0.001853, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001557/0.001557, allocations: 216 kB / 23.75 MB, free: 4.668 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.1865/0.1865, allocations: 38.53 MB / 352.5 MB, free: 12.51 MB / 286.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.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",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.002061/0.002061, allocations: 71.89 kB / 492.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4237, allocations: 62.47 MB / 0.542 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005872/0.4296, allocations: 4.226 MB / 0.5461 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.4313, allocations: 0.8972 MB / 0.547 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.4315, allocations: 14.69 kB / 0.547 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.4317, allocations: 48.09 kB / 0.5471 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.4322, allocations: 171.5 kB / 0.5472 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.4324, allocations: 80.67 kB / 0.5473 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000488/0.4329, allocations: 405.7 kB / 0.5477 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.4331, allocations: 71.77 kB / 0.5478 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.4335, allocations: 183 kB / 0.5479 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.4338, allocations: 198.4 kB / 0.5481 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.4339, allocations: 20.06 kB / 0.5482 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.4339, allocations: 20.62 kB / 0.5482 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.434, allocations: 89.2 kB / 0.5483 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.4342, allocations: 141.5 kB / 0.5484 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.4346, allocations: 288.7 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4346, allocations: 1.25 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4346, allocations: 0 / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4346, allocations: 0 / 0.5487 GB, free: 11.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001108/0.4357, allocations: 0.5351 MB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4358, allocations: 14.23 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.4358, allocations: 57.5 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.4359, allocations: 32.69 kB / 0.5493 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.4365, allocations: 271 kB / 0.5496 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.4365, allocations: 17.5 kB / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.4366, allocations: 46.38 kB / 0.5496 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.4371, allocations: 295.3 kB / 0.5499 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4371, allocations: 0 / 0.5499 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.4371, allocations: 10.5 kB / 0.5499 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4371, allocations: 6.719 kB / 0.5499 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.4375, allocations: 191.4 kB / 0.5501 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.4391, allocations: 1.236 MB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.4394, allocations: 114.8 kB / 0.5514 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.4395, allocations: 48.84 kB / 0.5515 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.4395, allocations: 1.25 kB / 0.5515 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4395, allocations: 35.83 kB / 0.5515 GB, free: 8.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.4395, allocations: 0 / 0.5515 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009446/0.4405, allocations: 473.6 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.4406, allocations: 105.1 kB / 0.552 GB, free: 8.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4408, allocations: 248 kB / 0.5523 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.4408, allocations: 29.69 kB / 0.5523 GB, free: 8.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.441, allocations: 193.9 kB / 0.5525 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.441, allocations: 48.09 kB / 0.5525 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.4411, allocations: 40.2 kB / 0.5526 GB, free: 8.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4413, allocations: 336.2 kB / 0.5529 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.4414, allocations: 41.77 kB / 0.5529 GB, free: 7.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.4415, allocations: 125.1 kB / 0.5531 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.4418, allocations: 193 kB / 0.5532 GB, free: 7.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4418, allocations: 4.812 kB / 0.5532 GB, free: 7.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000443/0.4422, allocations: 234.7 kB / 0.5535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4422, allocations: 6.406 kB / 0.5535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4422, allocations: 3.219 kB / 0.5535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.4424, allocations: 31 kB / 0.5535 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.4427, allocations: 67.28 kB / 0.5536 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4427, allocations: 8.953 kB / 0.5536 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.4428, allocations: 8.375 kB / 0.5536 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4428, allocations: 12.05 kB / 0.5536 GB, free: 7.156 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.443, allocations: 150.6 kB / 0.5537 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.4431, allocations: 22.45 kB / 0.5538 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.4433, allocations: 148.8 kB / 0.5539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4434, allocations: 6.312 kB / 0.5539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.4434, allocations: 12.94 kB / 0.5539 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4434, allocations: 4.969 kB / 0.5539 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.4438, allocations: 254.7 kB / 0.5542 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4438, allocations: 1.375 kB / 0.5542 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4439, allocations: 25.42 kB / 0.5542 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4439, allocations: 1.094 kB / 0.5542 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.444, allocations: 6.359 kB / 0.5542 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.444, allocations: 5.125 kB / 0.5542 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.444, allocations: 1.094 kB / 0.5542 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.4444, allocations: 367.4 kB / 0.5546 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.4444, allocations: 22.58 kB / 0.5546 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4445, allocations: 6.188 kB / 0.5546 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4446, allocations: 5.156 kB / 0.5546 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.4446, allocations: 15.19 kB / 0.5546 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.4447, allocations: 4.344 kB / 0.5546 GB, free: 6.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.4448, allocations: 172.7 kB / 0.5548 GB, free: 6.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4448, allocations: 0 / 0.5548 GB, free: 6.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.4452, allocations: 45.59 kB / 0.5548 GB, free: 6.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007104/0.4459, allocations: 0.9036 MB / 0.5557 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4462, allocations: 124.8 kB / 0.5558 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4462, allocations: 1.125 kB / 0.5558 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.4463, allocations: 46.86 kB / 0.5559 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4468, allocations: 51.56 kB / 0.5559 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.4503, allocations: 2.631 MB / 0.5585 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.4508, allocations: 0.7714 MB / 0.5592 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.4509, allocations: 30.28 kB / 0.5593 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.4511, allocations: 87.41 kB / 0.5594 GB, free: 2.109 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4511, allocations: 3.938 kB / 0.5594 GB, free: 2.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.4853, allocations: 5.08 MB / 0.5643 GB, free: 13.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.18, allocations: 4.062 kB / 0.5643 GB, free: 13.16 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.043322210898623] Failed to read output from testmodel.py, exit status != 0: 12.302020624047145 12.317482368 11.879791106 Calling exit ...