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.001314/0.001314, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001515/0.001515, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1899/0.1899, allocations: 38.55 MB / 353.2 MB, free: 12.36 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",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.002919/0.002919, allocations: 63.91 kB / 493.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3926, allocations: 62.46 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006394/0.399, allocations: 4.017 MB / 0.5466 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.4011, allocations: 0.823 MB / 0.5474 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.4014, allocations: 19.75 kB / 0.5474 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.4016, allocations: 43.83 kB / 0.5475 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.4023, allocations: 175.1 kB / 0.5477 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.4025, allocations: 77.36 kB / 0.5477 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.4031, allocations: 404.7 kB / 0.5481 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.4034, allocations: 76.25 kB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.4038, allocations: 191.3 kB / 0.5484 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.4042, allocations: 185.5 kB / 0.5485 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.4043, allocations: 24.52 kB / 0.5486 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.955e-05/0.4043, allocations: 21.12 kB / 0.5486 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.4045, allocations: 89 kB / 0.5487 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.4046, allocations: 113.6 kB / 0.5488 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.4051, allocations: 295.8 kB / 0.5491 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4051, allocations: 0.9688 kB / 0.5491 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4051, allocations: 4 kB / 0.5491 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.4051, allocations: 0 / 0.5491 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.001137/0.4062, allocations: 0.5291 MB / 0.5496 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4063, allocations: 13.61 kB / 0.5496 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.603e-05/0.4063, allocations: 6.219 kB / 0.5496 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.4064, allocations: 54.39 kB / 0.5497 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.4064, allocations: 39.53 kB / 0.5497 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.407, allocations: 279.2 kB / 0.55 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4071, allocations: 22.03 kB / 0.55 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.4072, allocations: 35.23 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.4077, allocations: 288.4 kB / 0.5503 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4077, allocations: 1.188 kB / 0.5503 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.4078, allocations: 18.34 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4078, allocations: 6.625 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.4082, allocations: 182.3 kB / 0.5505 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.4101, allocations: 1.189 MB / 0.5517 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.4104, allocations: 119 kB / 0.5518 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.4105, allocations: 48.39 kB / 0.5518 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.4105, allocations: 2.031 kB / 0.5518 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.4106, allocations: 49.81 kB / 0.5519 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4106, allocations: 0 / 0.5519 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009946/0.4116, allocations: 461.5 kB / 0.5523 GB, free: 8.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.4116, allocations: 112.2 kB / 0.5524 GB, free: 8.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.4119, allocations: 244.8 kB / 0.5526 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4119, allocations: 26.98 kB / 0.5527 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4121, allocations: 195.9 kB / 0.5529 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.4121, allocations: 49.78 kB / 0.5529 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.4122, allocations: 41.67 kB / 0.5529 GB, free: 8.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4124, allocations: 338.7 kB / 0.5533 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.4125, allocations: 37.67 kB / 0.5533 GB, free: 7.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4127, allocations: 139 kB / 0.5534 GB, free: 7.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4129, allocations: 187.4 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4129, allocations: 1.094 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004476/0.4134, allocations: 235 kB / 0.5538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4134, allocations: 6.5 kB / 0.5538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4134, allocations: 3.25 kB / 0.5538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.4136, allocations: 30.81 kB / 0.5539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.4139, allocations: 60.11 kB / 0.5539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.4139, allocations: 8.359 kB / 0.5539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.4141, allocations: 11.38 kB / 0.554 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.4141, allocations: 8.875 kB / 0.554 GB, free: 7.23 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.0001909/0.4143, allocations: 151.3 kB / 0.5541 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.4143, allocations: 25.61 kB / 0.5541 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.4146, allocations: 149.2 kB / 0.5543 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4146, allocations: 2.438 kB / 0.5543 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4146, allocations: 5.141 kB / 0.5543 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4146, allocations: 1.094 kB / 0.5543 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.415, allocations: 238.7 kB / 0.5545 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.415, allocations: 1.125 kB / 0.5545 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4152, allocations: 29.36 kB / 0.5545 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.4152, allocations: 6.109 kB / 0.5545 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4152, allocations: 9.125 kB / 0.5546 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4153, allocations: 6.094 kB / 0.5546 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4153, allocations: 3.938 kB / 0.5546 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.4157, allocations: 361.4 kB / 0.5549 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.4157, allocations: 26.84 kB / 0.5549 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.4158, allocations: 6.094 kB / 0.5549 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4159, allocations: 9.234 kB / 0.5549 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.416, allocations: 12.17 kB / 0.555 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.416, allocations: 3 kB / 0.555 GB, free: 6.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.4162, allocations: 169.7 kB / 0.5551 GB, free: 6.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 4.062 kB / 0.5551 GB, free: 6.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.4165, allocations: 49.19 kB / 0.5552 GB, free: 6.258 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.0008267/0.4174, allocations: 0.9036 MB / 0.5561 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.4177, allocations: 126.4 kB / 0.5562 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.4177, allocations: 0.875 kB / 0.5562 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.4178, allocations: 47.61 kB / 0.5562 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.4184, allocations: 60.27 kB / 0.5563 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.4219, allocations: 2.626 MB / 0.5588 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.4221, allocations: 162.8 kB / 0.559 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.4222, allocations: 30.27 kB / 0.559 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4223, allocations: 87.41 kB / 0.5591 GB, free: 2.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4223, allocations: 3.938 kB / 0.5591 GB, free: 2.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.4513, allocations: 5.226 MB / 0.5642 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.65, allocations: 14.12 kB / 0.5642 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 647] (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.554590034065768] Failed to read output from testmodel.py, exit status != 0: 12.824461208074354 12.856780732 12.445200434 Calling exit ...