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.001931/0.001931, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002412/0.002412, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1925/0.1925, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002163/0.002163, allocations: 63.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3978, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00621/0.404, allocations: 4.019 MB / 0.5459 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.4055, allocations: 0.8293 MB / 0.5467 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.4057, allocations: 14.22 kB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.4059, allocations: 47.83 kB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.4064, allocations: 171.6 kB / 0.5469 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.4066, allocations: 85.78 kB / 0.547 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.4071, allocations: 397 kB / 0.5474 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.4072, allocations: 67.31 kB / 0.5474 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.4076, allocations: 199 kB / 0.5476 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.4079, allocations: 175.1 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.4079, allocations: 19.53 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.408, allocations: 21.41 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.4081, allocations: 96.7 kB / 0.5479 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.4083, allocations: 113.8 kB / 0.548 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.4086, allocations: 295.9 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4086, allocations: 0 / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4086, allocations: 1.531 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4086, allocations: 0 / 0.5483 GB, free: 11.45 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.001157/0.4098, allocations: 0.5294 MB / 0.5488 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4098, allocations: 13.48 kB / 0.5488 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.43e-05/0.4099, allocations: 62.03 kB / 0.5489 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.41, allocations: 31.84 kB / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.4106, allocations: 275.1 kB / 0.5492 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4106, allocations: 18.06 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.4108, allocations: 47.08 kB / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.4113, allocations: 289.3 kB / 0.5495 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4113, allocations: 3.938 kB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.4114, allocations: 10.44 kB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4114, allocations: 6.688 kB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.4117, allocations: 182.1 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.4135, allocations: 1.189 MB / 0.5509 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.4138, allocations: 119.5 kB / 0.551 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.4139, allocations: 43.91 kB / 0.551 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.4139, allocations: 2.344 kB / 0.551 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.4139, allocations: 41.11 kB / 0.5511 GB, free: 9.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4139, allocations: 0 / 0.5511 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001072/0.415, allocations: 465.6 kB / 0.5515 GB, free: 8.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.4151, allocations: 113.1 kB / 0.5516 GB, free: 8.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.4154, allocations: 248.3 kB / 0.5519 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4154, allocations: 26.92 kB / 0.5519 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.4156, allocations: 204.3 kB / 0.5521 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.4156, allocations: 45.36 kB / 0.5521 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.4157, allocations: 44.25 kB / 0.5522 GB, free: 8.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4159, allocations: 332.4 kB / 0.5525 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.416, allocations: 41.16 kB / 0.5525 GB, free: 7.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4162, allocations: 128.1 kB / 0.5527 GB, free: 7.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.4165, allocations: 192.1 kB / 0.5528 GB, free: 7.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4165, allocations: 9.062 kB / 0.5528 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004465/0.4169, allocations: 231 kB / 0.5531 GB, free: 7.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4169, allocations: 11.16 kB / 0.5531 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4169, allocations: 2.906 kB / 0.5531 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.4171, allocations: 39 kB / 0.5531 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.4174, allocations: 54.77 kB / 0.5532 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.4174, allocations: 8.375 kB / 0.5532 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4176, allocations: 8 kB / 0.5532 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.4176, allocations: 13.02 kB / 0.5532 GB, free: 7.227 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.0001813/0.4178, allocations: 146.7 kB / 0.5533 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.4178, allocations: 25.92 kB / 0.5534 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4181, allocations: 142.3 kB / 0.5535 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.4181, allocations: 9.125 kB / 0.5535 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4181, allocations: 1.062 kB / 0.5535 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.4182, allocations: 1.094 kB / 0.5535 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.4186, allocations: 239.6 kB / 0.5537 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4186, allocations: 0 / 0.5537 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4187, allocations: 33.95 kB / 0.5538 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.4187, allocations: 5.344 kB / 0.5538 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4188, allocations: 2.719 kB / 0.5538 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4188, allocations: 5.312 kB / 0.5538 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4188, allocations: 1.406 kB / 0.5538 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.4193, allocations: 376.2 kB / 0.5541 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.4193, allocations: 18.58 kB / 0.5542 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4194, allocations: 2.375 kB / 0.5542 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.4195, allocations: 9.156 kB / 0.5542 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.4195, allocations: 7.891 kB / 0.5542 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4196, allocations: 7.609 kB / 0.5542 GB, free: 6.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.4198, allocations: 172.8 kB / 0.5543 GB, free: 6.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4198, allocations: 0 / 0.5543 GB, free: 6.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.4201, allocations: 45.69 kB / 0.5544 GB, free: 6.27 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.0008759/0.421, allocations: 0.8969 MB / 0.5553 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.4214, allocations: 126.4 kB / 0.5554 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4214, allocations: 3.938 kB / 0.5554 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.4215, allocations: 47.64 kB / 0.5554 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.4221, allocations: 62.88 kB / 0.5555 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.4259, allocations: 2.633 MB / 0.5581 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4261, allocations: 162.8 kB / 0.5582 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.4263, allocations: 34.27 kB / 0.5583 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.4264, allocations: 87.41 kB / 0.5583 GB, free: 2.738 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4264, allocations: 4 kB / 0.5583 GB, free: 2.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.4651, allocations: 5.528 MB / 0.5637 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.11, allocations: 18.72 kB / 0.5638 GB, free: 13.35 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: 14.996488434728235] Failed to read output from testmodel.py, exit status != 0: 12.224052336066961 12.242279611 11.830038471 Calling exit ...