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.00184/0.00184, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002365/0.002365, allocations: 208.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.1888/0.1888, allocations: 38.55 MB / 352.5 MB, free: 12.42 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 62.46 MB / 0.5419 GB, free: 284 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009323/0.3182, allocations: 7.044 MB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.3251, allocations: 4.111 MB / 0.5528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.3255, allocations: 16.66 kB / 0.5529 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.3283, allocations: 1.016 MB / 0.5538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.3311, allocations: 1.214 MB / 0.555 GB, free: 6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.332, allocations: 318.9 kB / 0.5553 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.3337, allocations: 1.405 MB / 0.5567 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008425/0.3345, allocations: 0.5158 MB / 0.5572 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3355, allocations: 0.6381 MB / 0.5578 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009926/0.3365, allocations: 0.7514 MB / 0.5586 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.914e-05/0.3366, allocations: 60 kB / 0.5586 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.3388, allocations: 1.13 MB / 0.5597 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005057/0.3393, allocations: 494.7 kB / 0.5602 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.3397, allocations: 370.4 kB / 0.5606 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3417, allocations: 1.468 MB / 0.562 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3417, allocations: 0 / 0.562 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3417, allocations: 0 / 0.562 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3417, allocations: 0 / 0.562 GB, free: 15.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.001711/0.3434, allocations: 1.07 MB / 0.563 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3434, allocations: 15.98 kB / 0.5631 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3436, allocations: 139.1 kB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.3468, allocations: 391.9 kB / 0.5636 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.3476, allocations: 433.6 kB / 0.564 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.3477, allocations: 54.36 kB / 0.564 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3478, allocations: 72.36 kB / 0.5641 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3496, allocations: 1.184 MB / 0.5652 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3497, allocations: 4 kB / 0.5653 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.3497, allocations: 31.98 kB / 0.5653 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/0.3498, allocations: 69.95 kB / 0.5653 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.3517, allocations: 1.233 MB / 0.5666 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.3576, allocations: 3.221 MB / 0.5697 GB, free: 7.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3594, allocations: 0.9911 MB / 0.5707 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.3603, allocations: 0.5862 MB / 0.5712 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.369e-05/0.3604, allocations: 17 kB / 0.5713 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3604, allocations: 43.73 kB / 0.5713 GB, free: 5.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.685e-06/0.3604, allocations: 0 / 0.5713 GB, free: 5.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006658/0.3671, allocations: 3.006 MB / 0.5742 GB, free: 2.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.3671, allocations: 90.11 kB / 0.5743 GB, free: 2.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.3676, allocations: 365.6 kB / 0.5747 GB, free: 2.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.3677, allocations: 41.7 kB / 0.5747 GB, free: 2.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.3679, allocations: 328.9 kB / 0.575 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.3682, allocations: 337 kB / 0.5753 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.3685, allocations: 154.6 kB / 0.5755 GB, free: 1.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3686, allocations: 370.7 kB / 0.5758 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.3694, allocations: 465.7 kB / 0.5763 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.3702, allocations: 0.5774 MB / 0.5768 GB, free: 168 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.3718, allocations: 1.109 MB / 0.5779 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3718, allocations: 0 / 0.5779 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002659/0.3745, allocations: 1.47 MB / 0.5794 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.3745, allocations: 10.64 kB / 0.5794 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3745, allocations: 4 kB / 0.5794 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3756, allocations: 332.8 kB / 0.5797 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.3763, allocations: 179.7 kB / 0.5799 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.3819, allocations: 3.912 MB / 0.5837 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.3825, allocations: 51.95 kB / 0.5837 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.3826, allocations: 35.98 kB / 0.5838 GB, free: 8.918 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.000439/0.383, allocations: 289.6 kB / 0.5841 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3831, allocations: 59.62 kB / 0.5841 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.386, allocations: 1.559 MB / 0.5856 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.386, allocations: 12 kB / 0.5856 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.386, allocations: 8 kB / 0.5857 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.386, allocations: 3.984 kB / 0.5857 GB, free: 6.969 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.005197/0.3912, allocations: 2.782 MB / 0.5884 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.3912, allocations: 7.984 kB / 0.5884 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.3919, allocations: 159.8 kB / 0.5885 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008064/0.3927, allocations: 289.6 kB / 0.5888 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.3927, allocations: 28 kB / 0.5888 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/0.3979, allocations: 3.717 MB / 0.5925 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3979, allocations: 12 kB / 0.5925 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.4004, allocations: 1.583 MB / 0.594 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4006, allocations: 71.55 kB / 0.5941 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.4007, allocations: 23.94 kB / 0.5941 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4011, allocations: 43.97 kB / 0.5942 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4013, allocations: 80.78 kB / 0.5942 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.4013, allocations: 43.92 kB / 0.5943 GB, free: 13.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.4016, allocations: 255.2 kB / 0.5945 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4016, allocations: 0 / 0.5945 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001001/0.4026, allocations: 308 kB / 0.5948 GB, free: 13.32 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.002852/0.4055, allocations: 2.147 MB / 0.5969 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.4078, allocations: 1.346 MB / 0.5982 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4078, allocations: 0 / 0.5982 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.4092, allocations: 0.7969 MB / 0.599 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.4099, allocations: 106 kB / 0.5991 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.4212, allocations: 7.538 MB / 0.6065 GB, free: 1.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.4219, allocations: 476.8 kB / 0.6069 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.4224, allocations: 184.6 kB / 0.6071 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.4228, allocations: 259.3 kB / 0.6073 GB, free: 132 kB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4228, allocations: 0 / 0.6073 GB, free: 132 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05283/0.4756, allocations: 18.17 MB / 0.6251 GB, free: 14.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.7, allocations: 11.16 kB / 0.6251 GB, free: 14.09 MB / 478.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_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_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.644204528012779] Failed to read output from testmodel.py, exit status != 0: 12.823336419009138 12.852853473 12.505793342 Calling exit ...