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.002245/0.002245, allocations: 118.9 kB / 18.49 MB, free: 4.586 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.002306/0.002306, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.1868/0.1868, allocations: 38.5 MB / 349.4 MB, free: 2.613 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.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.002027/0.002027, allocations: 68.25 kB / 487.8 MB, free: 32.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 62.41 MB / 0.5374 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01088/0.1365, allocations: 7.522 MB / 0.5447 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.1437, allocations: 4.459 MB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.1444, allocations: 19.94 kB / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.1474, allocations: 1.046 MB / 0.5501 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.1508, allocations: 1.211 MB / 0.5513 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1518, allocations: 327.1 kB / 0.5516 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.1542, allocations: 1.402 MB / 0.553 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.1555, allocations: 0.5284 MB / 0.5535 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.157, allocations: 0.6342 MB / 0.5541 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.1585, allocations: 0.7398 MB / 0.5548 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.1587, allocations: 64 kB / 0.5549 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.1618, allocations: 1.376 MB / 0.5562 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008755/0.1627, allocations: 494.7 kB / 0.5567 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.1638, allocations: 437.9 kB / 0.5571 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.1676, allocations: 1.468 MB / 0.5586 GB, free: 3.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1676, allocations: 0 / 0.5586 GB, free: 3.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1676, allocations: 0 / 0.5586 GB, free: 3.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.949e-05/0.1677, allocations: 0 / 0.5586 GB, free: 3.742 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.003058/0.1707, allocations: 1.149 MB / 0.5597 GB, free: 2.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.1708, allocations: 8.031 kB / 0.5597 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.394e-05/0.1708, allocations: 22.19 kB / 0.5597 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002412/0.1711, allocations: 131.2 kB / 0.5598 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.1745, allocations: 395.8 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.1755, allocations: 494.8 kB / 0.5607 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.1755, allocations: 50.38 kB / 0.5607 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.1757, allocations: 72.36 kB / 0.5608 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.1779, allocations: 1.176 MB / 0.5619 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.1779, allocations: 4 kB / 0.562 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.178, allocations: 31.98 kB / 0.562 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.1781, allocations: 69.95 kB / 0.562 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.1804, allocations: 1.249 MB / 0.5633 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006669/0.1871, allocations: 3.496 MB / 0.5667 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.189, allocations: 0.995 MB / 0.5677 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000942/0.1899, allocations: 0.59 MB / 0.5682 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-05/0.19, allocations: 24.97 kB / 0.5683 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.19, allocations: 47.5 kB / 0.5683 GB, free: 9.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.076e-06/0.19, allocations: 0 / 0.5683 GB, free: 9.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.007256/0.1973, allocations: 3.093 MB / 0.5713 GB, free: 6.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.1974, allocations: 86.11 kB / 0.5714 GB, free: 6.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.1978, allocations: 369.6 kB / 0.5718 GB, free: 5.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.1979, allocations: 37.7 kB / 0.5718 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.1981, allocations: 320.9 kB / 0.5721 GB, free: 5.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.1984, allocations: 325.1 kB / 0.5724 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.1987, allocations: 154.6 kB / 0.5726 GB, free: 5.074 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1989, allocations: 374.8 kB / 0.5729 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.1996, allocations: 469.7 kB / 0.5734 GB, free: 4.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/0.2005, allocations: 0.5734 MB / 0.5739 GB, free: 3.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2023, allocations: 1.109 MB / 0.575 GB, free: 2.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2023, allocations: 4 kB / 0.575 GB, free: 2.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002833/0.2051, allocations: 1.466 MB / 0.5764 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.2051, allocations: 4 kB / 0.5764 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2052, allocations: 4 kB / 0.5764 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.2063, allocations: 328.8 kB / 0.5768 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.2071, allocations: 183.7 kB / 0.5769 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.2135, allocations: 4.197 MB / 0.581 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/0.2142, allocations: 47.94 kB / 0.5811 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.2143, allocations: 35.98 kB / 0.5811 GB, free: 12.07 MB / 446.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.0005655/0.2149, allocations: 301.5 kB / 0.5814 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.215, allocations: 55.67 kB / 0.5815 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.2181, allocations: 1.551 MB / 0.583 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.2181, allocations: 12 kB / 0.583 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.2181, allocations: 4 kB / 0.583 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2181, allocations: 7.984 kB / 0.583 GB, free: 10.12 MB / 446.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.005729/0.2238, allocations: 3.016 MB / 0.5859 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.2238, allocations: 12.03 kB / 0.5859 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.2245, allocations: 171.7 kB / 0.5861 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008797/0.2254, allocations: 284.6 kB / 0.5864 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/0.2255, allocations: 23.98 kB / 0.5864 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005861/0.2313, allocations: 3.918 MB / 0.5902 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.2313, allocations: 7.938 kB / 0.5902 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.2342, allocations: 1.59 MB / 0.5918 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.2345, allocations: 140.7 kB / 0.5919 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.2346, allocations: 27.92 kB / 0.592 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.2351, allocations: 43.97 kB / 0.592 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.2353, allocations: 84.77 kB / 0.5921 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.2353, allocations: 35.98 kB / 0.5921 GB, free: 432 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.2356, allocations: 263.1 kB / 0.5924 GB, free: 172 kB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2356, allocations: 0 / 0.5924 GB, free: 172 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001066/0.2367, allocations: 300.1 kB / 0.5926 GB, free: 15.87 MB / 462.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.003177/0.2399, allocations: 2.16 MB / 0.5948 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.2424, allocations: 1.338 MB / 0.5961 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.2424, allocations: 0.5625 kB / 0.5961 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.2438, allocations: 0.7882 MB / 0.5968 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.2446, allocations: 107.3 kB / 0.5969 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.2574, allocations: 7.533 MB / 0.6043 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.2584, allocations: 1.072 MB / 0.6053 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004806/0.2589, allocations: 180.6 kB / 0.6055 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.2594, allocations: 259.3 kB / 0.6058 GB, free: 2.078 MB / 462.1 MB Notification: Performance of SimCode: time 1.803e-06/0.2594, allocations: 0 / 0.6058 GB, free: 2.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/0.5764, allocations: 16.91 MB / 0.6223 GB, free: 63.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.81, allocations: 10.41 kB / 0.6223 GB, free: 63.08 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.978883762029] Failed to read output from testmodel.py, exit status != 0: 11.96253965899814 11.980673339 11.809579471 Calling exit ...