Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 119.9 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 189.2 kB / 20.73 MB, free: 2.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.186/0.186, allocations: 38.5 MB / 342.5 MB, free: 8.023 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.84 kB / 478.6 MB, free: 33.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1131, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009106/0.1222, allocations: 7.493 MB / 0.5345 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006475/0.1287, allocations: 4.416 MB / 0.5388 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.1292, allocations: 15.94 kB / 0.5389 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.1318, allocations: 1.047 MB / 0.5399 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.1347, allocations: 1.214 MB / 0.5411 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009222/0.1356, allocations: 323.1 kB / 0.5414 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1374, allocations: 1.402 MB / 0.5427 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000872/0.1383, allocations: 0.5245 MB / 0.5433 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009362/0.1392, allocations: 0.6225 MB / 0.5439 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.1402, allocations: 0.7438 MB / 0.5446 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.546e-05/0.1403, allocations: 64 kB / 0.5447 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.1427, allocations: 1.371 MB / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005403/0.1433, allocations: 490.7 kB / 0.5465 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.1438, allocations: 445.9 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.146, allocations: 1.46 MB / 0.5483 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.146, allocations: 0 / 0.5483 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.146, allocations: 0 / 0.5483 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.146, allocations: 0 / 0.5483 GB, free: 11.69 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.001709/0.1477, allocations: 1.149 MB / 0.5494 GB, free: 10.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1477, allocations: 19.89 kB / 0.5495 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.1479, allocations: 127.2 kB / 0.5496 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/0.1509, allocations: 399.9 kB / 0.55 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.1518, allocations: 482.9 kB / 0.5504 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.1519, allocations: 54.36 kB / 0.5505 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.152, allocations: 72.31 kB / 0.5505 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.1539, allocations: 1.187 MB / 0.5517 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.1539, allocations: 7.984 kB / 0.5517 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.154, allocations: 24 kB / 0.5517 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.585e-05/0.1541, allocations: 69.97 kB / 0.5518 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.156, allocations: 1.237 MB / 0.553 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.1618, allocations: 3.512 MB / 0.5564 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.1635, allocations: 0.9755 MB / 0.5574 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.1643, allocations: 0.6009 MB / 0.558 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.1644, allocations: 16.97 kB / 0.558 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1644, allocations: 51.69 kB / 0.558 GB, free: 1.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.485e-06/0.1644, allocations: 0 / 0.558 GB, free: 1.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006719/0.1712, allocations: 3.093 MB / 0.5611 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.1712, allocations: 90.14 kB / 0.5611 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.1716, allocations: 361.6 kB / 0.5615 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.1717, allocations: 41.7 kB / 0.5615 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.1719, allocations: 320.9 kB / 0.5618 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.1722, allocations: 333.1 kB / 0.5622 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.1725, allocations: 158.6 kB / 0.5623 GB, free: 13.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1727, allocations: 366.8 kB / 0.5627 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.1734, allocations: 469.7 kB / 0.5631 GB, free: 12.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007992/0.1742, allocations: 0.5696 MB / 0.5637 GB, free: 11.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.1758, allocations: 1.113 MB / 0.5647 GB, free: 10.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1758, allocations: 0 / 0.5647 GB, free: 10.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002636/0.1785, allocations: 1.473 MB / 0.5662 GB, free: 8.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1785, allocations: 4 kB / 0.5662 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1785, allocations: 4 kB / 0.5662 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000969/0.1795, allocations: 331.3 kB / 0.5665 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.1802, allocations: 183.7 kB / 0.5667 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.1861, allocations: 4.194 MB / 0.5708 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.1866, allocations: 43.95 kB / 0.5708 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.1867, allocations: 39.98 kB / 0.5709 GB, free: 4.027 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.0005395/0.1872, allocations: 294.2 kB / 0.5711 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1874, allocations: 63.61 kB / 0.5712 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.1902, allocations: 1.551 MB / 0.5727 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.1902, allocations: 12 kB / 0.5727 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1903, allocations: 4 kB / 0.5727 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1903, allocations: 3.984 kB / 0.5727 GB, free: 2.082 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.005479/0.1957, allocations: 3.019 MB / 0.5757 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.1958, allocations: 4 kB / 0.5757 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.1964, allocations: 171.8 kB / 0.5758 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008959/0.1973, allocations: 286 kB / 0.5761 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.1974, allocations: 24 kB / 0.5761 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.203, allocations: 3.923 MB / 0.58 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.203, allocations: 4 kB / 0.58 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.2057, allocations: 1.583 MB / 0.5815 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.206, allocations: 152.7 kB / 0.5817 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.2061, allocations: 27.94 kB / 0.5817 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.2065, allocations: 35.97 kB / 0.5817 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.2067, allocations: 76.83 kB / 0.5818 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.2067, allocations: 43.92 kB / 0.5818 GB, free: 8.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.2071, allocations: 263.1 kB / 0.5821 GB, free: 8.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2071, allocations: 4 kB / 0.5821 GB, free: 8.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009846/0.2081, allocations: 307.9 kB / 0.5824 GB, free: 7.824 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.002912/0.211, allocations: 2.141 MB / 0.5845 GB, free: 5.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.2134, allocations: 1.346 MB / 0.5858 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2134, allocations: 0 / 0.5858 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.2147, allocations: 0.8008 MB / 0.5866 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.2154, allocations: 107.8 kB / 0.5867 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.227, allocations: 7.537 MB / 0.594 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/0.2279, allocations: 1.072 MB / 0.5951 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.2284, allocations: 180.6 kB / 0.5953 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.2288, allocations: 259.3 kB / 0.5955 GB, free: 10.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.2288, allocations: 0 / 0.5955 GB, free: 10.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2833/0.5121, allocations: 16.87 MB / 0.612 GB, free: 72.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.51, allocations: 7.594 kB / 0.612 GB, free: 72.24 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.379689032677561] Failed to read output from testmodel.py, exit status != 0: 11.596751522272825 11.616450738 11.467095501 Calling exit ...