Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001855/0.001855, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00286/0.00286, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1959/0.1959, allocations: 38.54 MB / 353.2 MB, free: 12.61 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="cs",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.002067/0.002067, allocations: 67.89 kB / 493.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 62.47 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.013/0.3869, allocations: 7.615 MB / 0.5502 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008526/0.3954, allocations: 4.54 MB / 0.5547 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007232/0.3961, allocations: 16.75 kB / 0.5547 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.3992, allocations: 1.067 MB / 0.5557 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.4031, allocations: 1.295 MB / 0.557 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4042, allocations: 349.8 kB / 0.5573 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.4066, allocations: 1.403 MB / 0.5587 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.4077, allocations: 0.5809 MB / 0.5593 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.4094, allocations: 0.6499 MB / 0.5599 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.4108, allocations: 0.8061 MB / 0.5607 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.4109, allocations: 87.98 kB / 0.5608 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.4143, allocations: 1.652 MB / 0.5624 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007671/0.4151, allocations: 0.6156 MB / 0.563 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009493/0.416, allocations: 0.5599 MB / 0.5635 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.4192, allocations: 1.888 MB / 0.5654 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4192, allocations: 0 / 0.5654 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4192, allocations: 3.984 kB / 0.5654 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.4192, allocations: 0 / 0.5654 GB, free: 13.29 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.002257/0.4215, allocations: 1.294 MB / 0.5666 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4215, allocations: 19.86 kB / 0.5666 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.68e-05/0.4215, allocations: 30.17 kB / 0.5667 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.4217, allocations: 160.8 kB / 0.5668 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/0.4258, allocations: 0.5424 MB / 0.5674 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009946/0.4268, allocations: 0.5037 MB / 0.5679 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.4269, allocations: 74.28 kB / 0.5679 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.427, allocations: 88.36 kB / 0.568 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.4295, allocations: 1.504 MB / 0.5695 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.4295, allocations: 4 kB / 0.5695 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.4296, allocations: 35.98 kB / 0.5695 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.4298, allocations: 101.9 kB / 0.5696 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.4324, allocations: 1.546 MB / 0.5711 GB, free: 7.27 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.008339/0.4407, allocations: 4.845 MB / 0.5759 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.4426, allocations: 1.086 MB / 0.5769 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4437, allocations: 0.6874 MB / 0.5776 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.4437, allocations: 21.05 kB / 0.5776 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.4438, allocations: 47.78 kB / 0.5776 GB, free: 360 kB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.725e-06/0.4438, allocations: 4 kB / 0.5777 GB, free: 356 kB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008291/0.4521, allocations: 3.517 MB / 0.5811 GB, free: 12.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.4522, allocations: 90.14 kB / 0.5812 GB, free: 12.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.4528, allocations: 481.7 kB / 0.5816 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/0.4529, allocations: 45.7 kB / 0.5817 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.4532, allocations: 428.7 kB / 0.5821 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004045/0.4536, allocations: 396.6 kB / 0.5825 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.454, allocations: 198.9 kB / 0.5827 GB, free: 11.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4542, allocations: 386.7 kB / 0.583 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008823/0.455, allocations: 0.5335 MB / 0.5835 GB, free: 10.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.4561, allocations: 0.7618 MB / 0.5843 GB, free: 9.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.4582, allocations: 1.396 MB / 0.5857 GB, free: 7.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4582, allocations: 0 / 0.5857 GB, free: 7.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003469/0.4617, allocations: 1.786 MB / 0.5874 GB, free: 6.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.4617, allocations: 11.47 kB / 0.5874 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.4617, allocations: 12 kB / 0.5874 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4629, allocations: 413.4 kB / 0.5878 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/0.4639, allocations: 231.7 kB / 0.588 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008509/0.4724, allocations: 5.845 MB / 0.5937 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.4733, allocations: 71.88 kB / 0.5938 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.4734, allocations: 47.94 kB / 0.5939 GB, free: 15.26 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.0006539/0.4741, allocations: 369.4 kB / 0.5942 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.4742, allocations: 75.53 kB / 0.5943 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.478, allocations: 1.795 MB / 0.596 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.478, allocations: 15.94 kB / 0.596 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/0.4781, allocations: 8 kB / 0.5961 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.4781, allocations: 11.91 kB / 0.5961 GB, free: 12.96 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.006888/0.485, allocations: 3.421 MB / 0.5994 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.485, allocations: 4 kB / 0.5994 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.4858, allocations: 188.1 kB / 0.5996 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.4868, allocations: 365.3 kB / 0.5999 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4869, allocations: 24 kB / 0.6 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008034/0.495, allocations: 5.576 MB / 0.6054 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.495, allocations: 11.88 kB / 0.6054 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.4991, allocations: 1.81 MB / 0.6072 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.4994, allocations: 87.45 kB / 0.6073 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.4996, allocations: 24 kB / 0.6073 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/0.5004, allocations: 59.89 kB / 0.6073 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.5006, allocations: 92.77 kB / 0.6074 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.5007, allocations: 35.98 kB / 0.6075 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005751/0.5013, allocations: 331 kB / 0.6078 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5013, allocations: 0 / 0.6078 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001618/0.5029, allocations: 396 kB / 0.6082 GB, free: 128 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.00394/0.5069, allocations: 2.388 MB / 0.6105 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003187/0.5101, allocations: 1.686 MB / 0.6121 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5101, allocations: 0 / 0.6121 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.5118, allocations: 1.018 MB / 0.6131 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.5128, allocations: 141.3 kB / 0.6133 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.5295, allocations: 9.125 MB / 0.6222 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.5306, allocations: 1.174 MB / 0.6233 GB, free: 88 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007025/0.5313, allocations: 237.4 kB / 0.6236 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/0.532, allocations: 343.2 kB / 0.6239 GB, free: 15.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.463e-06/0.532, allocations: 7.938 kB / 0.6239 GB, free: 15.51 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05764/0.5896, allocations: 21.93 MB / 0.6453 GB, free: 9.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.68, allocations: 14.84 kB / 0.6453 GB, free: 9.699 MB / 494.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.9157591459807]