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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 112.2 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 184 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1936/0.1936, allocations: 38.53 MB / 346.3 MB, free: 2.062 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4081, allocations: 61.29 MB / 0.533 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005394/0.4135, allocations: 4.057 MB / 0.537 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.4148, allocations: 0.8892 MB / 0.5379 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.415, allocations: 22.69 kB / 0.5379 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.4152, allocations: 35.77 kB / 0.5379 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.4157, allocations: 164 kB / 0.5381 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.416, allocations: 86.95 kB / 0.5382 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.4163, allocations: 380.8 kB / 0.5385 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.4165, allocations: 61.48 kB / 0.5386 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.4167, allocations: 172.1 kB / 0.5387 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.417, allocations: 171.9 kB / 0.5389 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.4171, allocations: 16.75 kB / 0.5389 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.4171, allocations: 17.25 kB / 0.5389 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.4172, allocations: 82.77 kB / 0.539 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.4174, allocations: 128.3 kB / 0.5391 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.4177, allocations: 255.3 kB / 0.5394 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4177, allocations: 0 / 0.5394 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4177, allocations: 7.938 kB / 0.5394 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.4177, allocations: 1.156 kB / 0.5394 GB, free: 0.9648 MB / 382.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.0008404/0.4186, allocations: 494.9 kB / 0.5399 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4186, allocations: 9.75 kB / 0.5399 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.4187, allocations: 30.78 kB / 0.5399 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.4191, allocations: 263.9 kB / 0.5402 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4191, allocations: 20.5 kB / 0.5402 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.4192, allocations: 21.38 kB / 0.5402 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.4195, allocations: 266.2 kB / 0.5404 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4195, allocations: 1.562 kB / 0.5404 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.4196, allocations: 10.44 kB / 0.5405 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4196, allocations: 5.406 kB / 0.5405 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.4199, allocations: 163.4 kB / 0.5406 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.4214, allocations: 1.136 MB / 0.5417 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4216, allocations: 76.83 kB / 0.5418 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.4217, allocations: 36.41 kB / 0.5418 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.4217, allocations: 1.062 kB / 0.5418 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4217, allocations: 35.62 kB / 0.5419 GB, free: 14.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4217, allocations: 0 / 0.5419 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008747/0.4226, allocations: 338.1 kB / 0.5422 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.4227, allocations: 81.89 kB / 0.5423 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.423, allocations: 245.5 kB / 0.5425 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.423, allocations: 33.53 kB / 0.5425 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4232, allocations: 195.5 kB / 0.5427 GB, free: 14.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.4232, allocations: 28.34 kB / 0.5428 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.4233, allocations: 47.31 kB / 0.5428 GB, free: 13.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4235, allocations: 331.7 kB / 0.5431 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.4236, allocations: 27.25 kB / 0.5431 GB, free: 13.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4237, allocations: 130.6 kB / 0.5433 GB, free: 13.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4239, allocations: 169.9 kB / 0.5434 GB, free: 13.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4239, allocations: 1.406 kB / 0.5434 GB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003049/0.4243, allocations: 186.1 kB / 0.5436 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4243, allocations: 10.28 kB / 0.5436 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4243, allocations: 7.25 kB / 0.5436 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4243, allocations: 4.562 kB / 0.5436 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.4245, allocations: 39.92 kB / 0.5437 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4245, allocations: 5.75 kB / 0.5437 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.4246, allocations: 11.81 kB / 0.5437 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4246, allocations: 12.36 kB / 0.5437 GB, free: 13.15 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.0001654/0.4248, allocations: 146.6 kB / 0.5438 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.4248, allocations: 20.64 kB / 0.5439 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.4251, allocations: 105.7 kB / 0.544 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4251, allocations: 1.438 kB / 0.544 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4251, allocations: 1.281 kB / 0.544 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4251, allocations: 0 / 0.544 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.4256, allocations: 405.4 kB / 0.5443 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4256, allocations: 0 / 0.5443 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.4257, allocations: 14.38 kB / 0.5444 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4257, allocations: 1.125 kB / 0.5444 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4257, allocations: 1 kB / 0.5444 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4257, allocations: 1.125 kB / 0.5444 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4257, allocations: 1.312 kB / 0.5444 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.426, allocations: 236.8 kB / 0.5446 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.426, allocations: 20.92 kB / 0.5446 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.4261, allocations: 2.5 kB / 0.5446 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.4261, allocations: 0 / 0.5446 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.4262, allocations: 11.95 kB / 0.5446 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4262, allocations: 10.5 kB / 0.5446 GB, free: 12.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.4263, allocations: 171.8 kB / 0.5448 GB, free: 12.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4263, allocations: 0 / 0.5448 GB, free: 12.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.4267, allocations: 39.84 kB / 0.5448 GB, free: 12.19 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.0001042/0.4268, allocations: 91.41 kB / 0.5449 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.427, allocations: 84.62 kB / 0.545 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.427, allocations: 0 / 0.545 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.427, allocations: 31.48 kB / 0.545 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.4276, allocations: 65.48 kB / 0.5451 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4288, allocations: 0.4884 MB / 0.5456 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.4293, allocations: 0.762 MB / 0.5463 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.4294, allocations: 34.16 kB / 0.5463 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.4294, allocations: 15.62 kB / 0.5464 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4294, allocations: 0 / 0.5464 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Templates: time 0.006398/0.4358, allocations: 1.9 MB / 0.5482 GB, free: 9.945 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2165839141234756] Failed to read output from testmodel.py, exit status != 0: 0.44594939704984426 0.46280855699999995 0.041464496 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5b055017b0>