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.001559/0.001559, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001549/0.001549, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.1997/0.1997, allocations: 38.54 MB / 353.2 MB, free: 12.33 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.001973/0.001973, allocations: 59.91 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 62.47 MB / 0.5427 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009859/0.3679, allocations: 7.032 MB / 0.5496 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.3749, allocations: 4.157 MB / 0.5536 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.3753, allocations: 23.75 kB / 0.5537 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.3781, allocations: 1.011 MB / 0.5547 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.3821, allocations: 1.289 MB / 0.5559 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3833, allocations: 356.5 kB / 0.5563 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.3858, allocations: 1.41 MB / 0.5576 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.3873, allocations: 0.5759 MB / 0.5582 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.3888, allocations: 0.6654 MB / 0.5588 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.3899, allocations: 0.8061 MB / 0.5596 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.39, allocations: 76 kB / 0.5597 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.3931, allocations: 1.411 MB / 0.5611 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.3939, allocations: 0.6156 MB / 0.5617 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.3947, allocations: 482 kB / 0.5621 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.3977, allocations: 1.9 MB / 0.564 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3977, allocations: 0 / 0.564 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3977, allocations: 4 kB / 0.564 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.3977, allocations: 0 / 0.564 GB, free: 14.44 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.002298/0.4, allocations: 1.284 MB / 0.5653 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4001, allocations: 15.92 kB / 0.5653 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.036e-05/0.4001, allocations: 26.19 kB / 0.5653 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.4003, allocations: 160.8 kB / 0.5654 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.4044, allocations: 0.5502 MB / 0.566 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4057, allocations: 0.5036 MB / 0.5665 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.4058, allocations: 66.36 kB / 0.5665 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.4059, allocations: 88.36 kB / 0.5666 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.4086, allocations: 1.508 MB / 0.5681 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.4086, allocations: 0 / 0.5681 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4087, allocations: 39.98 kB / 0.5681 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.4088, allocations: 102 kB / 0.5682 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.4114, allocations: 1.55 MB / 0.5697 GB, free: 8.434 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.008039/0.4194, allocations: 4.35 MB / 0.574 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.4213, allocations: 1.083 MB / 0.575 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.4224, allocations: 0.6835 MB / 0.5757 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.4225, allocations: 20.98 kB / 0.5757 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.4225, allocations: 39.56 kB / 0.5758 GB, free: 2.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.476e-06/0.4225, allocations: 8 kB / 0.5758 GB, free: 2.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008277/0.4308, allocations: 3.525 MB / 0.5792 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.4308, allocations: 94.11 kB / 0.5793 GB, free: 14.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.4314, allocations: 473.8 kB / 0.5798 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.4315, allocations: 41.7 kB / 0.5798 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.4318, allocations: 436.7 kB / 0.5802 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.4322, allocations: 392.6 kB / 0.5806 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.4325, allocations: 194.9 kB / 0.5808 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.4328, allocations: 394.6 kB / 0.5812 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008959/0.4337, allocations: 0.5335 MB / 0.5817 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.4348, allocations: 0.7617 MB / 0.5824 GB, free: 11.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.4369, allocations: 1.396 MB / 0.5838 GB, free: 9.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4369, allocations: 4 kB / 0.5838 GB, free: 9.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003258/0.4401, allocations: 1.787 MB / 0.5855 GB, free: 7.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4402, allocations: 8 kB / 0.5855 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4402, allocations: 12.02 kB / 0.5856 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.4414, allocations: 405.4 kB / 0.5859 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/0.4423, allocations: 235.6 kB / 0.5862 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007514/0.4498, allocations: 5.695 MB / 0.5917 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.4506, allocations: 63.88 kB / 0.5918 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.4507, allocations: 47.98 kB / 0.5918 GB, free: 1.164 MB / 430.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.000551/0.4512, allocations: 361.4 kB / 0.5922 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4514, allocations: 79.52 kB / 0.5923 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.4548, allocations: 1.795 MB / 0.594 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.4548, allocations: 15.94 kB / 0.594 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.4548, allocations: 4 kB / 0.594 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.4548, allocations: 7.969 kB / 0.594 GB, free: 14.88 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.006075/0.4609, allocations: 3.196 MB / 0.5972 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4609, allocations: 0 / 0.5972 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.4617, allocations: 191.7 kB / 0.5973 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4627, allocations: 357.5 kB / 0.5977 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.4628, allocations: 31.98 kB / 0.5977 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00745/0.4703, allocations: 5.451 MB / 0.603 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4703, allocations: 7.938 kB / 0.603 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.4736, allocations: 1.818 MB / 0.6048 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.4738, allocations: 83.47 kB / 0.6049 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4739, allocations: 27.98 kB / 0.6049 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.4745, allocations: 55.89 kB / 0.605 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.4747, allocations: 92.77 kB / 0.6051 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.4748, allocations: 39.98 kB / 0.6051 GB, free: 3.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.4752, allocations: 327 kB / 0.6054 GB, free: 2.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4752, allocations: 0 / 0.6054 GB, free: 2.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001202/0.4764, allocations: 403.9 kB / 0.6058 GB, free: 2.422 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.003449/0.4799, allocations: 2.385 MB / 0.6081 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.4829, allocations: 1.682 MB / 0.6098 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4829, allocations: 0 / 0.6098 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.4847, allocations: 1.03 MB / 0.6108 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.4856, allocations: 125.7 kB / 0.6109 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.501, allocations: 9.129 MB / 0.6198 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.5018, allocations: 0.5833 MB / 0.6204 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.5024, allocations: 229.4 kB / 0.6206 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.503, allocations: 343.3 kB / 0.6209 GB, free: 2.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.503, allocations: 0 / 0.6209 GB, free: 2.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/0.5754, allocations: 22.04 MB / 0.6425 GB, free: 12.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.92, allocations: 12 kB / 0.6425 GB, free: 12.55 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: 17.32495659298729]