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.00176/0.00176, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002381/0.002381, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1875/0.1875, allocations: 38.53 MB / 353.2 MB, free: 12.5 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.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",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.002224/0.002224, allocations: 67.89 kB / 493.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3486, allocations: 62.46 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006061/0.3546, allocations: 4.233 MB / 0.5469 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3564, allocations: 0.9449 MB / 0.5478 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.3566, allocations: 18.16 kB / 0.5478 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.3568, allocations: 51.91 kB / 0.5479 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.3573, allocations: 178.5 kB / 0.5481 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3576, allocations: 96.72 kB / 0.5482 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.358, allocations: 398.9 kB / 0.5485 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.3583, allocations: 79.02 kB / 0.5486 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.3586, allocations: 191.5 kB / 0.5488 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.359, allocations: 191.8 kB / 0.549 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.359, allocations: 23.27 kB / 0.549 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.3591, allocations: 19.5 kB / 0.549 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3592, allocations: 87.94 kB / 0.5491 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.3594, allocations: 143.8 kB / 0.5492 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.3598, allocations: 288.5 kB / 0.5495 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3598, allocations: 0 / 0.5495 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3598, allocations: 5.469 kB / 0.5495 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3598, allocations: 0 / 0.5495 GB, free: 11.23 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.001097/0.3609, allocations: 0.5313 MB / 0.55 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.361, allocations: 13.39 kB / 0.55 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.726e-05/0.361, allocations: 6.438 kB / 0.5501 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.443e-05/0.3611, allocations: 62.61 kB / 0.5501 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.3611, allocations: 32.38 kB / 0.5501 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.3617, allocations: 282.4 kB / 0.5504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3617, allocations: 17.44 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.3617, allocations: 18.25 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.3622, allocations: 292.6 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3622, allocations: 9.375 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.3622, allocations: 6.656 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3622, allocations: 5.531 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.3625, allocations: 177.8 kB / 0.5509 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.364, allocations: 1.192 MB / 0.5521 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3644, allocations: 106.2 kB / 0.5522 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.3644, allocations: 42.39 kB / 0.5522 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3645, allocations: 1 kB / 0.5522 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3645, allocations: 36.78 kB / 0.5523 GB, free: 8.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3645, allocations: 4 kB / 0.5523 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009179/0.3654, allocations: 415.7 kB / 0.5527 GB, free: 8.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3655, allocations: 78.33 kB / 0.5527 GB, free: 8.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3657, allocations: 248.7 kB / 0.553 GB, free: 8.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3658, allocations: 29.7 kB / 0.553 GB, free: 8.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3659, allocations: 202.6 kB / 0.5532 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.366, allocations: 41.38 kB / 0.5532 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.3661, allocations: 47.94 kB / 0.5533 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3662, allocations: 336.3 kB / 0.5536 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.3663, allocations: 33.89 kB / 0.5536 GB, free: 7.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3665, allocations: 129.8 kB / 0.5538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3667, allocations: 204 kB / 0.5539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3667, allocations: 1.031 kB / 0.5539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004015/0.3671, allocations: 202.8 kB / 0.5541 GB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3672, allocations: 9.906 kB / 0.5542 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3672, allocations: 4.094 kB / 0.5542 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3672, allocations: 4.5 kB / 0.5542 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.3674, allocations: 42.05 kB / 0.5542 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.3674, allocations: 9 kB / 0.5542 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3675, allocations: 8.062 kB / 0.5542 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.3676, allocations: 12.55 kB / 0.5542 GB, free: 7.152 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.000203/0.3678, allocations: 156.6 kB / 0.5544 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.3678, allocations: 22.08 kB / 0.5544 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.3681, allocations: 133.9 kB / 0.5545 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3682, allocations: 2.312 kB / 0.5545 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.3682, allocations: 7.938 kB / 0.5545 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3682, allocations: 1 kB / 0.5545 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.3689, allocations: 457 kB / 0.555 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3689, allocations: 1.156 kB / 0.555 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.369, allocations: 21.89 kB / 0.555 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.369, allocations: 5.438 kB / 0.555 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3691, allocations: 6.156 kB / 0.555 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3691, allocations: 1.125 kB / 0.555 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3691, allocations: 1 kB / 0.555 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.3695, allocations: 278.3 kB / 0.5553 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.3695, allocations: 22.38 kB / 0.5553 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3696, allocations: 10.06 kB / 0.5553 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3697, allocations: 5.156 kB / 0.5553 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3697, allocations: 7.266 kB / 0.5553 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3697, allocations: 7.406 kB / 0.5553 GB, free: 6.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3699, allocations: 177.5 kB / 0.5555 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3699, allocations: 1.188 kB / 0.5555 GB, free: 6.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3703, allocations: 43.09 kB / 0.5555 GB, free: 6.094 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.0007004/0.371, allocations: 0.8083 MB / 0.5563 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3712, allocations: 112.1 kB / 0.5564 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3712, allocations: 1.375 kB / 0.5564 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.3713, allocations: 44.67 kB / 0.5565 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3718, allocations: 58.22 kB / 0.5565 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.375, allocations: 2.461 MB / 0.5589 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3754, allocations: 0.7703 MB / 0.5597 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3756, allocations: 34.27 kB / 0.5597 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3757, allocations: 87.34 kB / 0.5598 GB, free: 2.316 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3757, allocations: 0 / 0.5598 GB, free: 2.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.4052, allocations: 4.878 MB / 0.5646 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.81, allocations: 3.938 kB / 0.5646 GB, free: 13.58 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.734881878015585] Failed to read output from testmodel.py, exit status != 0: 11.982619697984774 12.008672428 11.643620401 Calling exit ...