Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001493/0.001493, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001578/0.001578, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.535/1.535, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1952/0.1952, allocations: 38.55 MB / 353.2 MB, free: 12.35 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.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.002861/0.002861, allocations: 67.84 kB / 493.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4058, allocations: 62.46 MB / 0.5427 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009879/0.4156, allocations: 7.027 MB / 0.5496 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.4224, allocations: 4.116 MB / 0.5536 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.423, allocations: 16.06 kB / 0.5536 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.4257, allocations: 1.008 MB / 0.5546 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.4291, allocations: 1.218 MB / 0.5558 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4301, allocations: 323.2 kB / 0.5561 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.432, allocations: 1.397 MB / 0.5575 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008681/0.4329, allocations: 0.5226 MB / 0.558 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.4343, allocations: 0.6381 MB / 0.5586 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.4356, allocations: 0.7475 MB / 0.5593 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4357, allocations: 64 kB / 0.5594 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.4384, allocations: 1.134 MB / 0.5605 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.439, allocations: 486.7 kB / 0.561 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.4395, allocations: 370.4 kB / 0.5613 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.4422, allocations: 1.468 MB / 0.5627 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4422, allocations: 0 / 0.5627 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4422, allocations: 3.938 kB / 0.5627 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.4422, allocations: 0 / 0.5627 GB, free: 15.75 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002167/0.4444, allocations: 1.07 MB / 0.5638 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4445, allocations: 15.98 kB / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.903e-05/0.4445, allocations: 18.19 kB / 0.5638 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.4446, allocations: 131.2 kB / 0.5639 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.4479, allocations: 391.9 kB / 0.5643 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.4488, allocations: 437.7 kB / 0.5647 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.4488, allocations: 54.36 kB / 0.5648 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.449, allocations: 72.3 kB / 0.5649 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.4509, allocations: 1.183 MB / 0.566 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.451, allocations: 0 / 0.566 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.451, allocations: 35.98 kB / 0.566 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.4512, allocations: 73.95 kB / 0.5661 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.4531, allocations: 1.237 MB / 0.5673 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.4589, allocations: 3.229 MB / 0.5705 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.4606, allocations: 0.9795 MB / 0.5714 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.4615, allocations: 0.6018 MB / 0.572 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.4615, allocations: 9 kB / 0.572 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4616, allocations: 43.75 kB / 0.5721 GB, free: 5.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.276e-06/0.4616, allocations: 7.875 kB / 0.5721 GB, free: 5.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007039/0.4686, allocations: 3.006 MB / 0.575 GB, free: 2.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.4687, allocations: 90.05 kB / 0.5751 GB, free: 2.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.4691, allocations: 365.6 kB / 0.5755 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.4692, allocations: 41.7 kB / 0.5755 GB, free: 2.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.4694, allocations: 317 kB / 0.5758 GB, free: 2.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.4697, allocations: 337.2 kB / 0.5761 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.47, allocations: 162.5 kB / 0.5763 GB, free: 1.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4702, allocations: 366.8 kB / 0.5766 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.4709, allocations: 469.7 kB / 0.5771 GB, free: 0.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007992/0.4717, allocations: 0.5696 MB / 0.5776 GB, free: 200 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.4735, allocations: 1.109 MB / 0.5787 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4735, allocations: 3.984 kB / 0.5787 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002957/0.4765, allocations: 1.462 MB / 0.5801 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4765, allocations: 4 kB / 0.5801 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4765, allocations: 4 kB / 0.5801 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4776, allocations: 336.8 kB / 0.5805 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/0.4783, allocations: 183.7 kB / 0.5806 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005859/0.4842, allocations: 3.923 MB / 0.5845 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.4848, allocations: 43.95 kB / 0.5845 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.4849, allocations: 40.05 kB / 0.5846 GB, free: 8.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0004724/0.4853, allocations: 293.5 kB / 0.5848 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4855, allocations: 63.61 kB / 0.5849 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.4885, allocations: 1.543 MB / 0.5864 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4885, allocations: 12 kB / 0.5864 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4885, allocations: 8 kB / 0.5864 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4885, allocations: 3.984 kB / 0.5864 GB, free: 7.008 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.005292/0.4938, allocations: 2.782 MB / 0.5891 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.4938, allocations: 4 kB / 0.5891 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/0.4945, allocations: 167.8 kB / 0.5893 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008714/0.4954, allocations: 281 kB / 0.5896 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/0.4955, allocations: 35.92 kB / 0.5896 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005644/0.5011, allocations: 3.714 MB / 0.5932 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.5011, allocations: 7.938 kB / 0.5932 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.5041, allocations: 1.587 MB / 0.5948 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.5043, allocations: 67.55 kB / 0.5949 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.5044, allocations: 31.92 kB / 0.5949 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.505, allocations: 35.97 kB / 0.5949 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.5051, allocations: 92.72 kB / 0.595 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.5052, allocations: 35.98 kB / 0.595 GB, free: 13.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.5056, allocations: 255.2 kB / 0.5953 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5056, allocations: 0 / 0.5953 GB, free: 13.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00106/0.5066, allocations: 308 kB / 0.5956 GB, free: 13.35 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.003148/0.5098, allocations: 2.151 MB / 0.5977 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.5122, allocations: 1.346 MB / 0.599 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5122, allocations: 0 / 0.599 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.5136, allocations: 0.793 MB / 0.5998 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.5144, allocations: 108.8 kB / 0.5999 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.5268, allocations: 7.538 MB / 0.6072 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.5274, allocations: 472.9 kB / 0.6077 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004746/0.5279, allocations: 184.6 kB / 0.6079 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.5284, allocations: 263.3 kB / 0.6081 GB, free: 164 kB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5284, allocations: 0 / 0.6081 GB, free: 164 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.5764, allocations: 17.83 MB / 0.6255 GB, free: 14.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.31, allocations: 4.062 kB / 0.6255 GB, free: 14.5 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.43172318197321] Failed to read output from testmodel.py, exit status != 0: 13.498748710961081 13.523162263 13.076021337 Calling exit ...