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.0008916/0.0008916, allocations: 91.61 kB / 20.77 MB, free: 3.75 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.0009336/0.0009336, allocations: 162 kB / 24.06 MB, free: 476 kB / 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.9262/0.9262, allocations: 177.1 MB / 204.4 MB, free: 5.684 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.2202/0.2202, allocations: 29.42 MB / 290.2 MB, free: 2.453 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.914e-06/1.914e-06, allocations: 0 / 430.4 MB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.756e-05, allocations: 8.75 kB / 430.4 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005936/0.005963, allocations: 6.955 MB / 437.4 MB, free: 6.492 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.01028, allocations: 4.132 MB / 441.5 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.01074, allocations: 15.94 kB / 441.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.01234, allocations: 1.019 MB / 442.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1967/0.209, allocations: 1.318 MB / 443.9 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.2099, allocations: 358.9 kB / 444.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.2113, allocations: 1.433 MB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008191/0.2121, allocations: 0.5687 MB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009507/0.2131, allocations: 0.8451 MB / 447.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.2137, allocations: 0.742 MB / 447.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.2138, allocations: 77.56 kB / 447.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.2156, allocations: 1.424 MB / 449.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.2159, allocations: 0.654 MB / 450 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.2162, allocations: 407.8 kB / 450.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.2179, allocations: 1.986 MB / 452.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2179, allocations: 0 / 452.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2179, allocations: 0 / 452.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.2179, allocations: 6.281 kB / 452.4 MB, free: 42.91 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.001214/0.2191, allocations: 1.276 MB / 453.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2191, allocations: 14.08 kB / 453.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.2192, allocations: 161.8 kB / 453.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.2214, allocations: 0.5518 MB / 454.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.222, allocations: 0.5077 MB / 454.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.222, allocations: 73.34 kB / 454.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2221, allocations: 90.06 kB / 455 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.2235, allocations: 1.497 MB / 456.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.2235, allocations: 6.875 kB / 456.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.2236, allocations: 35.19 kB / 456.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.2236, allocations: 102.2 kB / 456.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.225, allocations: 1.54 MB / 458.2 MB, free: 40.87 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.004169/0.2292, allocations: 4.368 MB / 462.6 MB, free: 38.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2302, allocations: 1.078 MB / 463.7 MB, free: 38.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.2308, allocations: 0.6917 MB / 464.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.2309, allocations: 22.19 kB / 464.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2309, allocations: 38.97 kB / 464.4 MB, free: 38.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.457e-06/0.2309, allocations: 0 / 464.4 MB, free: 38.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.00449/0.2354, allocations: 3.524 MB / 467.9 MB, free: 36.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2354, allocations: 95.88 kB / 468 MB, free: 36.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.2358, allocations: 488.2 kB / 468.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.2358, allocations: 41.02 kB / 468.5 MB, free: 36.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.236, allocations: 433.8 kB / 469 MB, free: 36.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.2362, allocations: 386.2 kB / 469.3 MB, free: 35.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.2364, allocations: 199.6 kB / 469.5 MB, free: 35.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.2365, allocations: 381.9 kB / 469.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.237, allocations: 0.5395 MB / 470.5 MB, free: 35.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.2375, allocations: 0.7469 MB / 471.2 MB, free: 34.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2386, allocations: 1.404 MB / 472.6 MB, free: 34.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2386, allocations: 6.875 kB / 472.6 MB, free: 34.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001801/0.2404, allocations: 1.796 MB / 474.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2405, allocations: 6.625 kB / 474.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2405, allocations: 6.25 kB / 474.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/0.2411, allocations: 410.3 kB / 474.8 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.2416, allocations: 238.4 kB / 475.1 MB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.2459, allocations: 5.677 MB / 480.7 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.2465, allocations: 61.83 kB / 480.8 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.2465, allocations: 44.03 kB / 480.8 MB, free: 29.44 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.0004382/0.247, allocations: 363.7 kB / 481.2 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.2471, allocations: 79.91 kB / 481.3 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.2491, allocations: 1.799 MB / 483.1 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2491, allocations: 11 kB / 483.1 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2491, allocations: 6.875 kB / 483.1 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2491, allocations: 8.562 kB / 483.1 MB, free: 28.49 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.00372/0.2528, allocations: 3.194 MB / 486.3 MB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.2528, allocations: 8.078 kB / 486.3 MB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.2533, allocations: 190.5 kB / 486.5 MB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005786/0.2538, allocations: 345.9 kB / 486.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.2539, allocations: 28.88 kB / 486.8 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004111/0.258, allocations: 5.465 MB / 492.3 MB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.258, allocations: 3.906 kB / 492.3 MB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.2601, allocations: 1.816 MB / 494.1 MB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2603, allocations: 83.09 kB / 494.2 MB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.2603, allocations: 29.36 kB / 494.2 MB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.2606, allocations: 52.05 kB / 494.3 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.2608, allocations: 99.19 kB / 494.4 MB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.2609, allocations: 35.69 kB / 494.4 MB, free: 22.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003053/0.2612, allocations: 326.2 kB / 494.7 MB, free: 22.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2612, allocations: 4 kB / 494.7 MB, free: 22.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/0.2622, allocations: 396.4 kB / 495.1 MB, free: 22.23 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.002191/0.2644, allocations: 2.374 MB / 497.5 MB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.2664, allocations: 1.685 MB / 499.2 MB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2664, allocations: 1.062 kB / 499.2 MB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.2675, allocations: 1.017 MB / 0.4885 GB, free: 19.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.2682, allocations: 122.6 kB / 0.4886 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009556/0.2777, allocations: 9.14 MB / 0.4975 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.2783, allocations: 0.5649 MB / 0.4981 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.2787, allocations: 237 kB / 0.4983 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.279, allocations: 344.8 kB / 0.4986 GB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.279, allocations: 0 / 0.4986 GB, free: 14.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.3174, allocations: 22.17 MB / 0.5203 GB, free: 9.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.82, allocations: 13.41 kB / 0.5203 GB, free: 9.918 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.809307912364602] Failed to read output from testmodel.py, exit status != 0: 7.915376198478043 7.924075128 7.704416947 Calling exit ...