Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001535/0.001535, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001892/0.001892, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.4 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.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.002124/0.002124, allocations: 63.91 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 62.48 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009589/0.3418, allocations: 7.256 MB / 0.549 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.3488, allocations: 4.428 MB / 0.5534 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.3494, allocations: 21.81 kB / 0.5534 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.3523, allocations: 1.075 MB / 0.5544 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.3557, allocations: 1.271 MB / 0.5557 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3568, allocations: 367.2 kB / 0.556 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.3589, allocations: 1.461 MB / 0.5574 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009412/0.3598, allocations: 0.521 MB / 0.558 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.3613, allocations: 0.6576 MB / 0.5586 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3626, allocations: 0.7397 MB / 0.5593 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.3628, allocations: 64 kB / 0.5594 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.3654, allocations: 1.208 MB / 0.5606 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006239/0.3661, allocations: 0.4948 MB / 0.561 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000724/0.3668, allocations: 394.3 kB / 0.5614 GB, free: 284 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002906/0.3697, allocations: 1.542 MB / 0.5629 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3697, allocations: 7.938 kB / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3697, allocations: 0 / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.3697, allocations: 0 / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001821/0.3715, allocations: 1.113 MB / 0.564 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3716, allocations: 11.98 kB / 0.564 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.3717, allocations: 139.4 kB / 0.5642 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.3751, allocations: 411.8 kB / 0.5646 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.3761, allocations: 453.6 kB / 0.565 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.3761, allocations: 58.36 kB / 0.565 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3763, allocations: 72.36 kB / 0.5651 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.3783, allocations: 1.23 MB / 0.5663 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.3783, allocations: 4 kB / 0.5663 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.3784, allocations: 27.98 kB / 0.5663 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.3785, allocations: 81.95 kB / 0.5664 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.3806, allocations: 1.304 MB / 0.5677 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006321/0.3869, allocations: 3.407 MB / 0.571 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.3888, allocations: 1.016 MB / 0.572 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008622/0.3896, allocations: 0.5668 MB / 0.5726 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.3897, allocations: 20.98 kB / 0.5726 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3897, allocations: 39.56 kB / 0.5726 GB, free: 4.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.845e-06/0.3897, allocations: 0 / 0.5726 GB, free: 4.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007364/0.3971, allocations: 3.064 MB / 0.5756 GB, free: 1.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.3972, allocations: 86.11 kB / 0.5757 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.3977, allocations: 393.4 kB / 0.5761 GB, free: 1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.3977, allocations: 37.7 kB / 0.5761 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.398, allocations: 329 kB / 0.5764 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.3984, allocations: 341 kB / 0.5768 GB, free: 300 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.3986, allocations: 158.6 kB / 0.5769 GB, free: 136 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.3989, allocations: 370.8 kB / 0.5773 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008024/0.3997, allocations: 461.7 kB / 0.5777 GB, free: 15.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.4006, allocations: 0.586 MB / 0.5783 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.4023, allocations: 1.11 MB / 0.5794 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4023, allocations: 0 / 0.5794 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002749/0.4051, allocations: 1.473 MB / 0.5808 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4051, allocations: 11.94 kB / 0.5808 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4051, allocations: 4 kB / 0.5808 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.4061, allocations: 340.7 kB / 0.5811 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.4068, allocations: 179.7 kB / 0.5813 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.4126, allocations: 3.915 MB / 0.5851 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.4132, allocations: 47.94 kB / 0.5852 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.4133, allocations: 43.92 kB / 0.5852 GB, free: 7.426 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004754/0.4137, allocations: 297.7 kB / 0.5855 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4139, allocations: 63.62 kB / 0.5856 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.4167, allocations: 1.54 MB / 0.5871 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.4167, allocations: 12 kB / 0.5871 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4167, allocations: 4 kB / 0.5871 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4168, allocations: 3.984 kB / 0.5871 GB, free: 5.488 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.4222, allocations: 2.77 MB / 0.5898 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4222, allocations: 4 kB / 0.5898 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.4228, allocations: 163.8 kB / 0.5899 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/0.4237, allocations: 288.6 kB / 0.5902 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.4237, allocations: 20 kB / 0.5902 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/0.4292, allocations: 3.683 MB / 0.5938 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.4292, allocations: 7.938 kB / 0.5938 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.4319, allocations: 1.567 MB / 0.5954 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.4321, allocations: 71.55 kB / 0.5954 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.4322, allocations: 24 kB / 0.5955 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.4326, allocations: 39.97 kB / 0.5955 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4328, allocations: 84.72 kB / 0.5956 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/0.4329, allocations: 39.98 kB / 0.5956 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003662/0.4333, allocations: 267.1 kB / 0.5959 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4333, allocations: 4 kB / 0.5959 GB, free: 12.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001002/0.4343, allocations: 308 kB / 0.5962 GB, free: 11.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002944/0.4372, allocations: 2.137 MB / 0.5983 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.4395, allocations: 1.323 MB / 0.5996 GB, free: 8.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4395, allocations: 4 kB / 0.5996 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.4408, allocations: 0.7967 MB / 0.6003 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.4415, allocations: 110.3 kB / 0.6004 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.4534, allocations: 7.636 MB / 0.6079 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.4541, allocations: 489.1 kB / 0.6084 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005341/0.4546, allocations: 192.7 kB / 0.6085 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.4551, allocations: 271.3 kB / 0.6088 GB, free: 14.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.704e-06/0.4551, allocations: 0 / 0.6088 GB, free: 14.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.5085, allocations: 18.01 MB / 0.6264 GB, free: 12.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.67, allocations: 22.25 kB / 0.6264 GB, free: 12.71 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.50615436770022] Failed to read output from testmodel.py, exit status != 0: 12.79216119972989 12.819399309 12.444544757 Calling exit ...