Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.0007927/0.0007927, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008684/0.0008684, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8481/0.8481, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2088/0.2088, allocations: 29.4 MB / 290.1 MB, free: 2.445 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_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.596e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005028/0.005044, allocations: 6.97 MB / 437.2 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.008786, allocations: 4.124 MB / 441.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.00908, allocations: 15.94 kB / 441.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.0103, allocations: 1.022 MB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.01227, allocations: 1.326 MB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1684/0.1807, allocations: 346.9 kB / 444 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1822, allocations: 1.43 MB / 445.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.183, allocations: 0.5725 MB / 446 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1842, allocations: 0.8451 MB / 446.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.1849, allocations: 0.7371 MB / 447.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1851, allocations: 81.16 kB / 447.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.187, allocations: 1.435 MB / 449.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.1874, allocations: 0.6503 MB / 449.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.1878, allocations: 408.1 kB / 450.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.1898, allocations: 1.983 MB / 452.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1898, allocations: 3.375 kB / 452.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1898, allocations: 3.875 kB / 452.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.1899, allocations: 2.031 kB / 452.2 MB, free: 42.84 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00161/0.1915, allocations: 1.272 MB / 453.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1915, allocations: 15.3 kB / 453.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.1916, allocations: 155.9 kB / 453.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.1936, allocations: 0.5535 MB / 454.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.1943, allocations: 0.507 MB / 454.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.1943, allocations: 64.05 kB / 454.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/0.1944, allocations: 91.7 kB / 454.8 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1957, allocations: 1.498 MB / 456.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1957, allocations: 6.906 kB / 456.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.1958, allocations: 36.28 kB / 456.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/0.1958, allocations: 107.7 kB / 456.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.1972, allocations: 1.538 MB / 458 MB, free: 40.85 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 preOpt removeSimpleEquations (simulation): time 0.004181/0.2014, allocations: 4.354 MB / 462.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000992/0.2024, allocations: 1.087 MB / 463.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.203, allocations: 0.6864 MB / 464.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.203, allocations: 17.28 kB / 464.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2031, allocations: 42.94 kB / 464.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.076e-06/0.2031, allocations: 0 / 464.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.00412/0.2072, allocations: 3.521 MB / 467.7 MB, free: 36.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2072, allocations: 93.45 kB / 467.8 MB, free: 36.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.2075, allocations: 490.8 kB / 468.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.2076, allocations: 47.67 kB / 468.3 MB, free: 36.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2077, allocations: 433.6 kB / 468.7 MB, free: 36.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.2079, allocations: 387.1 kB / 469.1 MB, free: 35.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.2081, allocations: 202.6 kB / 469.3 MB, free: 35.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.2081, allocations: 380.7 kB / 469.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.2086, allocations: 0.5377 MB / 470.2 MB, free: 35.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.2091, allocations: 0.7541 MB / 471 MB, free: 34.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2101, allocations: 1.398 MB / 472.4 MB, free: 34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2101, allocations: 3.375 kB / 472.4 MB, free: 34 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001578/0.2117, allocations: 1.795 MB / 474.2 MB, free: 33.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2117, allocations: 5.938 kB / 474.2 MB, free: 33.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2118, allocations: 7.031 kB / 474.2 MB, free: 33.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.2123, allocations: 411.5 kB / 474.6 MB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.2128, allocations: 235.7 kB / 474.8 MB, free: 33.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.2167, allocations: 5.672 MB / 480.5 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.2172, allocations: 63.62 kB / 480.6 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.2173, allocations: 52.86 kB / 480.6 MB, free: 29.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004003/0.2177, allocations: 357.8 kB / 481 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.368e-05/0.2177, allocations: 83.67 kB / 481 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.2196, allocations: 1.793 MB / 482.8 MB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2196, allocations: 11.38 kB / 482.8 MB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2196, allocations: 8.062 kB / 482.9 MB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2197, allocations: 6.844 kB / 482.9 MB, free: 28.45 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.003733/0.2234, allocations: 3.199 MB / 486.1 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.2234, allocations: 2.938 kB / 486.1 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.2239, allocations: 186.6 kB / 486.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/0.2244, allocations: 346.9 kB / 486.6 MB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.2245, allocations: 33.03 kB / 486.6 MB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.2286, allocations: 5.47 MB / 492.1 MB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2286, allocations: 4.125 kB / 492.1 MB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.2307, allocations: 1.807 MB / 493.9 MB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.2309, allocations: 91.42 kB / 494 MB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.231, allocations: 26.16 kB / 494 MB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.2312, allocations: 46.73 kB / 494.1 MB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.2314, allocations: 99.19 kB / 494.2 MB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.2315, allocations: 36.94 kB / 494.2 MB, free: 22.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003803/0.2319, allocations: 324.9 kB / 494.5 MB, free: 22.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2319, allocations: 0 / 494.5 MB, free: 22.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001285/0.2332, allocations: 396.9 kB / 494.9 MB, free: 22.19 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.002101/0.2353, allocations: 2.38 MB / 497.3 MB, free: 20.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.2374, allocations: 1.683 MB / 499 MB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2374, allocations: 0.5625 kB / 499 MB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.2385, allocations: 1.022 MB / 500 MB, free: 19.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.2391, allocations: 122.8 kB / 0.4884 GB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.2482, allocations: 9.136 MB / 0.4973 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.2488, allocations: 0.5671 MB / 0.4979 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003794/0.2491, allocations: 240.6 kB / 0.4981 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.2494, allocations: 340.8 kB / 0.4984 GB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2495, allocations: 0 / 0.4984 GB, free: 14.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.2827, allocations: 22.13 MB / 0.52 GB, free: 10.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.327, allocations: 10.94 kB / 0.52 GB, free: 10.1 MB / 426.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.115806769579649] Failed to read output from testmodel.py, exit status != 0: 7.413671695627272 7.422029156 7.230495096 Calling exit ...