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.001211/0.001211, allocations: 83.69 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.0014/0.0014, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9121/0.9121, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2464/0.2464, allocations: 29.41 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.713e-06/1.713e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.33e-05, allocations: 4.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007157/0.00718, allocations: 6.954 MB / 437.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.01255, allocations: 4.128 MB / 441.3 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.01302, allocations: 19.94 kB / 441.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.01441, allocations: 1.018 MB / 442.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.01684, allocations: 1.33 MB / 443.7 MB, free: 96 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2101/0.2269, allocations: 344.7 kB / 444 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.2282, allocations: 1.429 MB / 445.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.2288, allocations: 0.5736 MB / 446 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008512/0.2297, allocations: 0.857 MB / 446.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.2303, allocations: 0.7342 MB / 447.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.2303, allocations: 80.84 kB / 447.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.232, allocations: 1.427 MB / 449.1 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.2324, allocations: 0.6467 MB / 449.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.2326, allocations: 412.3 kB / 450.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.2342, allocations: 1.982 MB / 452.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2342, allocations: 1.5 kB / 452.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2342, allocations: 0 / 452.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.2342, allocations: 0.5 kB / 452.1 MB, free: 42.77 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.001184/0.2354, allocations: 1.28 MB / 453.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2354, allocations: 13.67 kB / 453.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2355, allocations: 161.2 kB / 453.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.2374, allocations: 0.5555 MB / 454.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.238, allocations: 0.503 MB / 454.6 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.238, allocations: 64.78 kB / 454.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.2381, allocations: 90.39 kB / 454.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.2395, allocations: 1.501 MB / 456.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.2395, allocations: 192 / 456.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.2395, allocations: 34.67 kB / 456.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/0.2396, allocations: 109.5 kB / 456.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.241, allocations: 1.538 MB / 458 MB, free: 40.8 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.004475/0.2455, allocations: 4.355 MB / 462.3 MB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2466, allocations: 1.079 MB / 463.4 MB, free: 38.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.2472, allocations: 0.6901 MB / 464.1 MB, free: 38.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.2472, allocations: 14.25 kB / 464.1 MB, free: 38.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2472, allocations: 50.52 kB / 464.2 MB, free: 37.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.968e-06/0.2472, allocations: 0 / 464.2 MB, free: 37.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.004439/0.2517, allocations: 3.524 MB / 467.7 MB, free: 36.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2517, allocations: 89.23 kB / 467.8 MB, free: 36.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.2521, allocations: 494.4 kB / 468.3 MB, free: 36.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2521, allocations: 40.67 kB / 468.3 MB, free: 36.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.2522, allocations: 440 kB / 468.7 MB, free: 35.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2524, allocations: 384.1 kB / 469.1 MB, free: 35.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.2526, allocations: 199.7 kB / 469.3 MB, free: 35.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.2526, allocations: 383.4 kB / 469.7 MB, free: 35.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.2531, allocations: 0.5389 MB / 470.2 MB, free: 35.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.2536, allocations: 0.7536 MB / 471 MB, free: 34.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.2547, allocations: 1.397 MB / 472.4 MB, free: 33.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2547, allocations: 0 / 472.4 MB, free: 33.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001767/0.2565, allocations: 1.8 MB / 474.2 MB, free: 33.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.2565, allocations: 10.44 kB / 474.2 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2565, allocations: 6.625 kB / 474.2 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.2572, allocations: 403.9 kB / 474.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.2577, allocations: 240.8 kB / 474.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.2618, allocations: 5.676 MB / 480.5 MB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.2623, allocations: 62.19 kB / 480.5 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.2624, allocations: 43.69 kB / 480.6 MB, free: 29.34 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.000395/0.2628, allocations: 365.7 kB / 480.9 MB, free: 29.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.2628, allocations: 86.52 kB / 481 MB, free: 29.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.2647, allocations: 1.798 MB / 482.8 MB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2647, allocations: 11 kB / 482.8 MB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2647, allocations: 6.875 kB / 482.8 MB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2647, allocations: 3.469 kB / 482.9 MB, free: 28.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.003525/0.2683, allocations: 3.201 MB / 486.1 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2683, allocations: 3.875 kB / 486.1 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.2687, allocations: 185 kB / 486.2 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.2692, allocations: 358 kB / 486.6 MB, free: 27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.2693, allocations: 26.56 kB / 486.6 MB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.2733, allocations: 5.454 MB / 492.1 MB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2733, allocations: 4.031 kB / 492.1 MB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.2756, allocations: 1.818 MB / 493.9 MB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.2759, allocations: 86.27 kB / 494 MB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.2759, allocations: 22.83 kB / 494 MB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.2762, allocations: 50.92 kB / 494 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.2764, allocations: 98.28 kB / 494.1 MB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.2764, allocations: 38.11 kB / 494.2 MB, free: 22.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003115/0.2768, allocations: 324.3 kB / 494.5 MB, free: 22.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2768, allocations: 1.156 kB / 494.5 MB, free: 22.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009992/0.2778, allocations: 396.2 kB / 494.9 MB, free: 22.13 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.002311/0.2801, allocations: 2.381 MB / 497.3 MB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.2824, allocations: 1.688 MB / 499 MB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.2825, allocations: 0 / 499 MB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.2835, allocations: 1.021 MB / 500 MB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.2843, allocations: 122.3 kB / 0.4884 GB, free: 19.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/0.2937, allocations: 9.136 MB / 0.4973 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.2943, allocations: 0.5718 MB / 0.4979 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003974/0.2947, allocations: 232.9 kB / 0.4981 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.295, allocations: 340.9 kB / 0.4984 GB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.295, allocations: 0 / 0.4984 GB, free: 14.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.3318, allocations: 22.13 MB / 0.52 GB, free: 10.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.744, allocations: 10.94 kB / 0.52 GB, free: 10.09 MB / 426.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.795297740027308] Failed to read output from testmodel.py, exit status != 0: 7.836353095248342 7.849893889 7.612529751 Calling exit ...