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.001858/0.001858, allocations: 116 kB / 20.43 MB, free: 1.457 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.002298/0.002298, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1892/0.1892, allocations: 38.52 MB / 352.5 MB, free: 12.52 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_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: 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.00219/0.00219, allocations: 70.55 kB / 492.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3594, allocations: 62.45 MB / 0.542 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009635/0.369, allocations: 7.633 MB / 0.5495 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.3766, allocations: 4.536 MB / 0.5539 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005728/0.3771, allocations: 16.91 kB / 0.5539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.3799, allocations: 1.071 MB / 0.5549 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.3837, allocations: 1.291 MB / 0.5562 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.385, allocations: 348.5 kB / 0.5565 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.3876, allocations: 1.403 MB / 0.5579 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.3891, allocations: 0.5801 MB / 0.5585 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.3908, allocations: 0.6654 MB / 0.5591 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.3921, allocations: 0.8022 MB / 0.5599 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3922, allocations: 80 kB / 0.56 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.396, allocations: 1.652 MB / 0.5616 GB, free: 264 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007291/0.3967, allocations: 0.6156 MB / 0.5622 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007394/0.3975, allocations: 0.56 MB / 0.5627 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.4012, allocations: 1.892 MB / 0.5646 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4012, allocations: 0 / 0.5646 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4012, allocations: 0 / 0.5646 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.4012, allocations: 0 / 0.5646 GB, free: 13.18 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002524/0.4037, allocations: 1.286 MB / 0.5659 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.4038, allocations: 19.92 kB / 0.5659 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.404, allocations: 164.8 kB / 0.566 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.4079, allocations: 0.5502 MB / 0.5666 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.4091, allocations: 0.5114 MB / 0.5671 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.4091, allocations: 66.36 kB / 0.5671 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.4093, allocations: 84.36 kB / 0.5672 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.4119, allocations: 1.501 MB / 0.5687 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.4119, allocations: 0 / 0.5687 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.412, allocations: 43.97 kB / 0.5687 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.4121, allocations: 98.02 kB / 0.5688 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.4148, allocations: 1.546 MB / 0.5703 GB, free: 7.199 MB / 414.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 preOpt removeSimpleEquations (simulation): time 0.008845/0.4236, allocations: 4.841 MB / 0.575 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.4256, allocations: 1.098 MB / 0.5761 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.4267, allocations: 0.6904 MB / 0.5768 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.602e-05/0.4267, allocations: 17.05 kB / 0.5768 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.4268, allocations: 47.56 kB / 0.5769 GB, free: 280 kB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.715e-06/0.4268, allocations: 0 / 0.5769 GB, free: 280 kB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008266/0.4351, allocations: 3.521 MB / 0.5803 GB, free: 12.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.4351, allocations: 94.09 kB / 0.5804 GB, free: 12.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006432/0.4358, allocations: 477.8 kB / 0.5808 GB, free: 12.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.4359, allocations: 37.7 kB / 0.5809 GB, free: 12.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.4362, allocations: 440.7 kB / 0.5813 GB, free: 11.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.4366, allocations: 388.6 kB / 0.5817 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.4369, allocations: 202.9 kB / 0.5819 GB, free: 11.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002649/0.4372, allocations: 378.8 kB / 0.5822 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008978/0.4381, allocations: 0.5374 MB / 0.5827 GB, free: 10.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.4392, allocations: 0.7539 MB / 0.5835 GB, free: 9.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.4413, allocations: 1.411 MB / 0.5849 GB, free: 7.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4413, allocations: 0 / 0.5849 GB, free: 7.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003507/0.4448, allocations: 1.79 MB / 0.5866 GB, free: 6.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.4449, allocations: 8 kB / 0.5866 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4449, allocations: 4 kB / 0.5866 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.4462, allocations: 405.9 kB / 0.587 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/0.4471, allocations: 235.6 kB / 0.5872 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/0.4552, allocations: 5.867 MB / 0.593 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.4561, allocations: 67.95 kB / 0.593 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4562, allocations: 47.98 kB / 0.5931 GB, free: 15.16 MB / 446.1 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.0006809/0.4569, allocations: 357.4 kB / 0.5934 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.4571, allocations: 79.52 kB / 0.5935 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.4605, allocations: 1.795 MB / 0.5952 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4605, allocations: 12 kB / 0.5953 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4605, allocations: 7.938 kB / 0.5953 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4605, allocations: 7.984 kB / 0.5953 GB, free: 12.89 MB / 446.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.00686/0.4673, allocations: 3.429 MB / 0.5986 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.4674, allocations: 7.984 kB / 0.5986 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.4681, allocations: 187.8 kB / 0.5988 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009917/0.4691, allocations: 350.2 kB / 0.5991 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.4692, allocations: 35.92 kB / 0.5992 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008353/0.4776, allocations: 5.583 MB / 0.6046 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.4776, allocations: 4 kB / 0.6046 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.481, allocations: 1.814 MB / 0.6064 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.4812, allocations: 87.47 kB / 0.6065 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.4814, allocations: 27.98 kB / 0.6065 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.4819, allocations: 47.89 kB / 0.6066 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.4821, allocations: 92.83 kB / 0.6066 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.4822, allocations: 43.92 kB / 0.6067 GB, free: 0.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000459/0.4827, allocations: 327.1 kB / 0.607 GB, free: 440 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4827, allocations: 0 / 0.607 GB, free: 440 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001331/0.484, allocations: 399.9 kB / 0.6074 GB, free: 40 kB / 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 (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.003595/0.4876, allocations: 2.384 MB / 0.6097 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00305/0.4906, allocations: 1.677 MB / 0.6113 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4906, allocations: 0 / 0.6113 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.4923, allocations: 1.026 MB / 0.6123 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.4933, allocations: 137.4 kB / 0.6125 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.5095, allocations: 9.121 MB / 0.6214 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.5109, allocations: 1.178 MB / 0.6225 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006661/0.5115, allocations: 233.4 kB / 0.6228 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/0.5121, allocations: 339.3 kB / 0.6231 GB, free: 15.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5121, allocations: 0 / 0.6231 GB, free: 15.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06805/0.5802, allocations: 21.91 MB / 0.6445 GB, free: 9.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.5, allocations: 15.08 kB / 0.6445 GB, free: 9.633 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.485776083078235] Failed to read output from testmodel.py, exit status != 0: 13.624086163938046 13.653465937 13.246873875 Calling exit ...