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.001869/0.001869, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.00195/0.00195, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.544/1.544, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2114/0.2114, allocations: 38.51 MB / 349.4 MB, free: 2.598 MB / 270.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.002132/0.002132, allocations: 63.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1409, allocations: 62.41 MB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.0102/0.1511, allocations: 7.537 MB / 0.5447 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006961/0.158, allocations: 4.506 MB / 0.5491 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.1585, allocations: 15.94 kB / 0.5491 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.1612, allocations: 1.047 MB / 0.5502 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.1645, allocations: 1.281 MB / 0.5514 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1655, allocations: 343 kB / 0.5517 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.1672, allocations: 1.406 MB / 0.5531 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.1682, allocations: 0.6291 MB / 0.5537 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.1693, allocations: 0.6577 MB / 0.5544 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1704, allocations: 0.8061 MB / 0.5552 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1705, allocations: 80 kB / 0.5552 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.1735, allocations: 1.594 MB / 0.5568 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.1741, allocations: 0.6117 MB / 0.5574 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006399/0.1747, allocations: 0.5677 MB / 0.5579 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.1777, allocations: 1.881 MB / 0.5598 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1777, allocations: 0 / 0.5598 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1777, allocations: 0 / 0.5598 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.1777, allocations: 0 / 0.5598 GB, free: 0.5 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.002324/0.18, allocations: 1.375 MB / 0.5611 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1801, allocations: 12.03 kB / 0.5611 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.623e-05/0.1801, allocations: 26.19 kB / 0.5612 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.1803, allocations: 156.8 kB / 0.5613 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.1844, allocations: 0.5502 MB / 0.5618 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.1854, allocations: 0.564 MB / 0.5624 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.1855, allocations: 66.36 kB / 0.5625 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.1857, allocations: 84.36 kB / 0.5625 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.1883, allocations: 1.504 MB / 0.564 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.1884, allocations: 4 kB / 0.564 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.1885, allocations: 39.98 kB / 0.564 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.1886, allocations: 98 kB / 0.5641 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.1912, allocations: 1.55 MB / 0.5657 GB, free: 10.32 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 preOpt removeSimpleEquations (simulation): time 0.008647/0.1999, allocations: 4.913 MB / 0.5705 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.2018, allocations: 1.078 MB / 0.5715 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.2029, allocations: 0.6865 MB / 0.5722 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.998e-05/0.203, allocations: 21.05 kB / 0.5722 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.2031, allocations: 47.69 kB / 0.5722 GB, free: 3.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.2031, allocations: 0 / 0.5722 GB, free: 3.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.008911/0.212, allocations: 3.683 MB / 0.5758 GB, free: 15.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.2121, allocations: 90.11 kB / 0.5759 GB, free: 15.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.2128, allocations: 477.8 kB / 0.5764 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.2129, allocations: 41.7 kB / 0.5764 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.2132, allocations: 432.7 kB / 0.5768 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.2136, allocations: 396.5 kB / 0.5772 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.214, allocations: 194.9 kB / 0.5774 GB, free: 13.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.2142, allocations: 386.6 kB / 0.5778 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/0.2151, allocations: 0.5374 MB / 0.5783 GB, free: 13.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.2161, allocations: 0.7579 MB / 0.579 GB, free: 12.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.2182, allocations: 1.396 MB / 0.5804 GB, free: 10.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.2183, allocations: 4 kB / 0.5804 GB, free: 10.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003308/0.2216, allocations: 1.794 MB / 0.5822 GB, free: 8.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.2216, allocations: 8 kB / 0.5822 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2216, allocations: 4 kB / 0.5822 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.2228, allocations: 408 kB / 0.5826 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/0.2237, allocations: 239.6 kB / 0.5828 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008787/0.2325, allocations: 6.069 MB / 0.5887 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.2333, allocations: 71.81 kB / 0.5888 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.2334, allocations: 40 kB / 0.5888 GB, free: 1.777 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.0006136/0.234, allocations: 373.3 kB / 0.5892 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.2341, allocations: 75.53 kB / 0.5892 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2855/0.5196, allocations: 1.791 MB / 0.591 GB, free: 50.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.5196, allocations: 11.91 kB / 0.591 GB, free: 50.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.5196, allocations: 6.688 kB / 0.591 GB, free: 50.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/0.5197, allocations: 10.2 kB / 0.591 GB, free: 50.12 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.006825/0.5265, allocations: 3.458 MB / 0.5944 GB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.5265, allocations: 3.781 kB / 0.5944 GB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.5273, allocations: 189.6 kB / 0.5946 GB, free: 49.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.5283, allocations: 348 kB / 0.5949 GB, free: 49.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/0.5284, allocations: 33.72 kB / 0.5949 GB, free: 49.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006492/0.5349, allocations: 5.788 MB / 0.6006 GB, free: 45.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5349, allocations: 7.406 kB / 0.6006 GB, free: 45.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.5381, allocations: 1.817 MB / 0.6024 GB, free: 44.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5384, allocations: 169.2 kB / 0.6025 GB, free: 44.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5385, allocations: 22.06 kB / 0.6026 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.5391, allocations: 55.25 kB / 0.6026 GB, free: 44.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.5394, allocations: 88.55 kB / 0.6027 GB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.5395, allocations: 38.12 kB / 0.6027 GB, free: 44.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004802/0.54, allocations: 329 kB / 0.603 GB, free: 44.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.54, allocations: 2.969 kB / 0.603 GB, free: 44.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001506/0.5415, allocations: 397.9 kB / 0.6034 GB, free: 44.09 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 (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.003216/0.5447, allocations: 2.384 MB / 0.6058 GB, free: 42.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.5474, allocations: 1.68 MB / 0.6074 GB, free: 41.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5474, allocations: 8.125 kB / 0.6074 GB, free: 41.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.5489, allocations: 1.024 MB / 0.6084 GB, free: 41.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.5498, allocations: 124.7 kB / 0.6085 GB, free: 41.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.5618, allocations: 9.13 MB / 0.6174 GB, free: 36.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.5625, allocations: 1.174 MB / 0.6186 GB, free: 36.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000534/0.563, allocations: 244.3 kB / 0.6188 GB, free: 36.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.5634, allocations: 339 kB / 0.6191 GB, free: 35.78 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5634, allocations: 0 / 0.6191 GB, free: 35.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.6096, allocations: 20.95 MB / 0.6396 GB, free: 16.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.31, allocations: 7.922 kB / 0.6396 GB, free: 16.65 MB / 446.1 MB " [Timeout remaining time 648] (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: 15.653477108979132]