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.0007395/0.0007395, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007903/0.0007903, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8659/0.8659, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2077/0.2077, allocations: 29.41 MB / 290.1 MB, free: 2.465 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.974e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.004928/0.004948, allocations: 6.951 MB / 437.2 MB, free: 6.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.00827, allocations: 4.081 MB / 441.2 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.008492, allocations: 15.94 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.009668, allocations: 1.026 MB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.01113, allocations: 1.236 MB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1574/0.1685, allocations: 321.7 kB / 443.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1698, allocations: 1.436 MB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006708/0.1705, allocations: 0.5093 MB / 445.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008438/0.1714, allocations: 0.8115 MB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.1719, allocations: 0.6823 MB / 447.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.172, allocations: 64.75 kB / 447.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1732, allocations: 1.145 MB / 448.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.1735, allocations: 0.511 MB / 449 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1737, allocations: 314.3 kB / 449.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1748, allocations: 1.528 MB / 450.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1748, allocations: 0 / 450.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1748, allocations: 1.375 kB / 450.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.1748, allocations: 3.281 kB / 450.8 MB, free: 42.87 MB / 410.7 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.0009289/0.1757, allocations: 1.066 MB / 451.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1757, allocations: 14.67 kB / 451.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.029e-05/0.1758, allocations: 130.2 kB / 452 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.1773, allocations: 399.1 kB / 452.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.1777, allocations: 423.3 kB / 452.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.1777, allocations: 57.59 kB / 452.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.1778, allocations: 73.16 kB / 453 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009712/0.1788, allocations: 1.171 MB / 454.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1788, allocations: 6.594 kB / 454.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.1789, allocations: 29.97 kB / 454.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.1789, allocations: 78.52 kB / 454.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.1799, allocations: 1.229 MB / 455.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.1826, allocations: 3.235 MB / 458.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.1835, allocations: 0.9741 MB / 459.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.1839, allocations: 0.593 MB / 460.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.184, allocations: 14.28 kB / 460.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.184, allocations: 50.16 kB / 460.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.465e-06/0.184, allocations: 0 / 460.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003311/0.1873, allocations: 3.006 MB / 463.4 MB, free: 38.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1873, allocations: 91 kB / 463.4 MB, free: 38.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1876, allocations: 368.8 kB / 463.8 MB, free: 38.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1876, allocations: 40.89 kB / 463.8 MB, free: 38.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.1877, allocations: 322.5 kB / 464.2 MB, free: 37.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1878, allocations: 320.2 kB / 464.5 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1879, allocations: 156.5 kB / 464.6 MB, free: 37.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.188, allocations: 374.6 kB / 465 MB, free: 37.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.1883, allocations: 466.4 kB / 465.5 MB, free: 36.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.1887, allocations: 0.5695 MB / 466 MB, free: 36.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.1896, allocations: 1.114 MB / 467.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1896, allocations: 0 / 467.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001296/0.1909, allocations: 1.468 MB / 468.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1909, allocations: 6.031 kB / 468.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1909, allocations: 3.375 kB / 468.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.1914, allocations: 337.2 kB / 468.9 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.1917, allocations: 183.3 kB / 469.1 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.1945, allocations: 3.92 MB / 473 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.1947, allocations: 43.84 kB / 473.1 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.1948, allocations: 40.03 kB / 473.1 MB, free: 33.19 MB / 410.7 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.0002528/0.195, allocations: 301 kB / 473.4 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.1951, allocations: 54.7 kB / 473.5 MB, free: 32.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1964, allocations: 1.551 MB / 475 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.1964, allocations: 14.72 kB / 475 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1964, allocations: 3.312 kB / 475 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1965, allocations: 7.406 kB / 475 MB, free: 32.39 MB / 410.7 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.002672/0.1991, allocations: 2.789 MB / 477.8 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1991, allocations: 3.969 kB / 477.8 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.1995, allocations: 163.9 kB / 478 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.1999, allocations: 288.1 kB / 478.3 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.1999, allocations: 24.53 kB / 478.3 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.2026, allocations: 3.702 MB / 482 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2026, allocations: 4.094 kB / 482 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.2041, allocations: 1.587 MB / 483.6 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2042, allocations: 68.3 kB / 483.7 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.2043, allocations: 20.69 kB / 483.7 MB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2045, allocations: 45.56 kB / 483.7 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2046, allocations: 87.8 kB / 483.8 MB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.2047, allocations: 38.5 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.2048, allocations: 255 kB / 484.1 MB, free: 27.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2048, allocations: 0 / 484.1 MB, free: 27.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006867/0.2055, allocations: 302.7 kB / 484.4 MB, free: 27.88 MB / 410.7 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.001503/0.207, allocations: 2.148 MB / 486.5 MB, free: 26.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.2084, allocations: 1.343 MB / 487.9 MB, free: 26.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2084, allocations: 1.188 kB / 487.9 MB, free: 26.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.2091, allocations: 0.7931 MB / 488.7 MB, free: 25.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.2096, allocations: 108 kB / 488.8 MB, free: 25.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00697/0.2166, allocations: 7.542 MB / 496.3 MB, free: 22.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.217, allocations: 473 kB / 496.8 MB, free: 21.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.2173, allocations: 178.9 kB / 497 MB, free: 21.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.2176, allocations: 258.4 kB / 497.2 MB, free: 21.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2176, allocations: 1.125 kB / 497.2 MB, free: 21.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.2498, allocations: 17.96 MB / 0.5031 GB, free: 11.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.309, allocations: 12.81 kB / 0.5031 GB, free: 11.77 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.094569572247565] Failed to read output from testmodel.py, exit status != 0: 7.396226837299764 7.401954676 7.225490448 Calling exit ...