Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001379/0.001379, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001483/0.001483, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.481/1.481, 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.1883/0.1883, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",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.002139/0.002139, allocations: 72.16 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 62.46 MB / 0.5419 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006217/0.3621, allocations: 3.877 MB / 0.5457 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3641, allocations: 0.8454 MB / 0.5465 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.3643, allocations: 14.47 kB / 0.5466 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3646, allocations: 47.5 kB / 0.5466 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.3651, allocations: 170 kB / 0.5468 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.3654, allocations: 82.38 kB / 0.5468 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.3659, allocations: 380.2 kB / 0.5472 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.3661, allocations: 57.78 kB / 0.5473 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.3665, allocations: 170.3 kB / 0.5474 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3668, allocations: 168.4 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.3668, allocations: 21.34 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.3669, allocations: 17.53 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.367, allocations: 86.08 kB / 0.5477 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3671, allocations: 99.94 kB / 0.5478 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.3675, allocations: 258.1 kB / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3675, allocations: 0 / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3675, allocations: 1.125 kB / 0.5481 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3675, allocations: 0 / 0.5481 GB, free: 11.66 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009863/0.3685, allocations: 0.4963 MB / 0.5485 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.3685, allocations: 13.61 kB / 0.5485 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.3686, allocations: 57.61 kB / 0.5486 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.3687, allocations: 30.03 kB / 0.5486 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.3693, allocations: 268 kB / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3693, allocations: 16.97 kB / 0.5489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.3693, allocations: 16.25 kB / 0.5489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.3698, allocations: 269.5 kB / 0.5492 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3699, allocations: 9.156 kB / 0.5492 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3699, allocations: 10.03 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3699, allocations: 5.312 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.3702, allocations: 163.4 kB / 0.5494 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.3717, allocations: 1.109 MB / 0.5504 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.3718, allocations: 76.61 kB / 0.5505 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.3719, allocations: 28.62 kB / 0.5505 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3719, allocations: 1.062 kB / 0.5505 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3719, allocations: 36.78 kB / 0.5506 GB, free: 9.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.372, allocations: 4 kB / 0.5506 GB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007083/0.3727, allocations: 344.8 kB / 0.5509 GB, free: 9.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.3727, allocations: 80.05 kB / 0.551 GB, free: 9.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.373, allocations: 253.4 kB / 0.5512 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.373, allocations: 25.7 kB / 0.5513 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3732, allocations: 195.7 kB / 0.5514 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3732, allocations: 24.72 kB / 0.5515 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.3733, allocations: 43.17 kB / 0.5515 GB, free: 8.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3735, allocations: 336.8 kB / 0.5518 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.3735, allocations: 26.08 kB / 0.5518 GB, free: 8.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.3737, allocations: 124.8 kB / 0.552 GB, free: 8.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.3739, allocations: 164.1 kB / 0.5521 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3739, allocations: 1.469 kB / 0.5521 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003332/0.3742, allocations: 193.4 kB / 0.5523 GB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3742, allocations: 13.5 kB / 0.5523 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3742, allocations: 3.969 kB / 0.5523 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3743, allocations: 4.656 kB / 0.5523 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3744, allocations: 43.38 kB / 0.5524 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3744, allocations: 5.438 kB / 0.5524 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.3745, allocations: 7.312 kB / 0.5524 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3745, allocations: 9.094 kB / 0.5524 GB, free: 7.809 MB / 398.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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.3747, allocations: 146.7 kB / 0.5525 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3747, allocations: 29.45 kB / 0.5526 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3749, allocations: 93.92 kB / 0.5527 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3749, allocations: 4.984 kB / 0.5527 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3749, allocations: 4.969 kB / 0.5527 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3749, allocations: 0 / 0.5527 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.3755, allocations: 393.2 kB / 0.553 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3755, allocations: 1.344 kB / 0.553 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.3756, allocations: 13.88 kB / 0.553 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3756, allocations: 1.125 kB / 0.5531 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3756, allocations: 1.062 kB / 0.5531 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3756, allocations: 5.5 kB / 0.5531 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3756, allocations: 1.188 kB / 0.5531 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3759, allocations: 229.1 kB / 0.5533 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.3759, allocations: 26.22 kB / 0.5533 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3759, allocations: 6.125 kB / 0.5533 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.376, allocations: 1.125 kB / 0.5533 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.376, allocations: 7.141 kB / 0.5533 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.376, allocations: 6.219 kB / 0.5533 GB, free: 6.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.3762, allocations: 168.2 kB / 0.5535 GB, free: 6.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3762, allocations: 5.031 kB / 0.5535 GB, free: 6.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.3765, allocations: 43 kB / 0.5535 GB, free: 6.852 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0005933/0.3771, allocations: 0.7608 MB / 0.5543 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3773, allocations: 78.52 kB / 0.5543 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3773, allocations: 1.062 kB / 0.5543 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.3773, allocations: 27.7 kB / 0.5544 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3778, allocations: 59.67 kB / 0.5544 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.3805, allocations: 2.312 MB / 0.5567 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3806, allocations: 149.1 kB / 0.5568 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.799e-05/0.3807, allocations: 27.81 kB / 0.5569 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3808, allocations: 74.62 kB / 0.5569 GB, free: 3.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3808, allocations: 0 / 0.5569 GB, free: 3.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.4151, allocations: 4.844 MB / 0.5617 GB, free: 15.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 11.78 kB / 0.5617 GB, free: 15.51 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.620269562117755] Failed to read output from testmodel.py, exit status != 0: 11.921066199894994 11.951487998 11.578273401 Calling exit ...