Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001376/0.001376, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001496/0.001496, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1863/0.1863, 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [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.003167/0.003167, allocations: 71.89 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4202, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.007651/0.4279, allocations: 4.01 MB / 0.5464 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.4298, allocations: 0.8729 MB / 0.5472 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.4299, allocations: 14.69 kB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.4302, allocations: 52.09 kB / 0.5473 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.4307, allocations: 182.4 kB / 0.5474 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.4309, allocations: 88.73 kB / 0.5475 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.4314, allocations: 407 kB / 0.5479 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.4316, allocations: 73.05 kB / 0.548 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.432, allocations: 196.1 kB / 0.5482 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.4323, allocations: 175.1 kB / 0.5483 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.4323, allocations: 19.25 kB / 0.5484 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.4324, allocations: 19.59 kB / 0.5484 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.4325, allocations: 96.88 kB / 0.5485 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.4327, allocations: 118.9 kB / 0.5486 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.4331, allocations: 288.6 kB / 0.5489 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4331, allocations: 0 / 0.5489 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4331, allocations: 0 / 0.5489 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.4331, allocations: 1.156 kB / 0.5489 GB, free: 11.6 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.001036/0.4341, allocations: 0.5281 MB / 0.5494 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4342, allocations: 13.67 kB / 0.5494 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.4342, allocations: 31.84 kB / 0.5494 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.4348, allocations: 282.2 kB / 0.5497 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.4348, allocations: 18.47 kB / 0.5497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.4348, allocations: 25.17 kB / 0.5497 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.4353, allocations: 288.3 kB / 0.55 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4353, allocations: 0 / 0.55 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.4354, allocations: 18.5 kB / 0.55 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4354, allocations: 6.844 kB / 0.55 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.4357, allocations: 181.4 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.4372, allocations: 1.112 MB / 0.5513 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.4375, allocations: 106 kB / 0.5514 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.4376, allocations: 46.52 kB / 0.5514 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.4376, allocations: 2.281 kB / 0.5514 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4376, allocations: 31.91 kB / 0.5515 GB, free: 9.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.4376, allocations: 4.969 kB / 0.5515 GB, free: 9.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009184/0.4386, allocations: 415.7 kB / 0.5519 GB, free: 9.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.4386, allocations: 79.27 kB / 0.5519 GB, free: 8.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.439, allocations: 244.9 kB / 0.5522 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.439, allocations: 29.7 kB / 0.5522 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4392, allocations: 213.8 kB / 0.5524 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.4392, allocations: 37.38 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.4393, allocations: 43.95 kB / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4394, allocations: 332.3 kB / 0.5528 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.4395, allocations: 39.56 kB / 0.5528 GB, free: 8.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.4397, allocations: 133.8 kB / 0.553 GB, free: 8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.44, allocations: 188.5 kB / 0.5531 GB, free: 7.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.44, allocations: 1.156 kB / 0.5531 GB, free: 7.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003612/0.4404, allocations: 213.4 kB / 0.5533 GB, free: 7.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.4404, allocations: 7.281 kB / 0.5534 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4404, allocations: 3.438 kB / 0.5534 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.4404, allocations: 4.875 kB / 0.5534 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.4406, allocations: 49.56 kB / 0.5534 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4406, allocations: 5.094 kB / 0.5534 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.4408, allocations: 12.69 kB / 0.5534 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4408, allocations: 16.2 kB / 0.5534 GB, free: 7.668 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 (24): * Single equations (assignments): 24 * 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.000184/0.441, allocations: 157.5 kB / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.441, allocations: 21.17 kB / 0.5536 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4413, allocations: 130.4 kB / 0.5537 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4413, allocations: 6.922 kB / 0.5537 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4413, allocations: 0 / 0.5537 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4413, allocations: 1.438 kB / 0.5537 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.4419, allocations: 406.7 kB / 0.5541 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4419, allocations: 5.344 kB / 0.5541 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.442, allocations: 22.23 kB / 0.5542 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.442, allocations: 1.156 kB / 0.5542 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.442, allocations: 6.25 kB / 0.5542 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.442, allocations: 1.031 kB / 0.5542 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.442, allocations: 4.906 kB / 0.5542 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.4424, allocations: 287.6 kB / 0.5544 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.4425, allocations: 18.33 kB / 0.5545 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4425, allocations: 6.188 kB / 0.5545 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4426, allocations: 1.156 kB / 0.5545 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.4426, allocations: 11.83 kB / 0.5545 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4426, allocations: 11.62 kB / 0.5545 GB, free: 6.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.4428, allocations: 174.1 kB / 0.5547 GB, free: 6.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4428, allocations: 0 / 0.5547 GB, free: 6.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000377/0.4432, allocations: 43.72 kB / 0.5547 GB, free: 6.66 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 (13): * Single equations (assignments): 12 * 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.0001435/0.4433, allocations: 100.2 kB / 0.5548 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4436, allocations: 109.7 kB / 0.5549 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4436, allocations: 4.062 kB / 0.5549 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.4437, allocations: 45.02 kB / 0.5549 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.4442, allocations: 50.22 kB / 0.555 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.4453, allocations: 0.5583 MB / 0.5555 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.4455, allocations: 167.2 kB / 0.5557 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.4456, allocations: 33.27 kB / 0.5557 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.4457, allocations: 20.09 kB / 0.5558 GB, free: 5.922 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4457, allocations: 0 / 0.5558 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Templates: time 0.006705/0.4524, allocations: 2.393 MB / 0.5581 GB, free: 3.715 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3048363253474236] Failed to read output from testmodel.py, exit status != 0: 0.4645488876849413 0.479479072 0.042479616000000005 Calling exit ...