Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001625, allocations: 105.6 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001713, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1889/0.1889, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 457.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3268, allocations: 58.05 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006782/0.3336, allocations: 7.424 MB / 0.5109 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005081/0.3387, allocations: 4.395 MB / 0.5152 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.3392, allocations: 13.12 kB / 0.5152 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.3418, allocations: 1.036 MB / 0.5162 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.3447, allocations: 1.199 MB / 0.5174 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.3456, allocations: 320.1 kB / 0.5177 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.3477, allocations: 1.402 MB / 0.519 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.349, allocations: 0.6617 MB / 0.5197 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.3504, allocations: 0.6246 MB / 0.5203 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.3517, allocations: 0.6806 MB / 0.521 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.3519, allocations: 63.5 kB / 0.521 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.3547, allocations: 1.323 MB / 0.5223 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000858/0.3556, allocations: 474 kB / 0.5228 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.3567, allocations: 445.3 kB / 0.5232 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.3603, allocations: 1.461 MB / 0.5246 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3603, allocations: 1.375 kB / 0.5246 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3603, allocations: 0 / 0.5246 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.555e-05/0.3604, allocations: 0 / 0.5246 GB, free: 10.94 MB / 398.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.004853/0.3652, allocations: 1.122 MB / 0.5257 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.3653, allocations: 13.3 kB / 0.5257 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004107/0.3657, allocations: 129.8 kB / 0.5258 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.3695, allocations: 393.1 kB / 0.5262 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3708, allocations: 486.1 kB / 0.5267 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.3709, allocations: 55.08 kB / 0.5267 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.3711, allocations: 75.42 kB / 0.5268 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.3739, allocations: 1.182 MB / 0.528 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/0.3739, allocations: 1.344 kB / 0.528 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3741, allocations: 27.56 kB / 0.528 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.3742, allocations: 73.44 kB / 0.5281 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.377, allocations: 1.248 MB / 0.5293 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/0.3837, allocations: 3.488 MB / 0.5327 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.3854, allocations: 1.066 MB / 0.5337 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009437/0.3864, allocations: 0.6559 MB / 0.5344 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-05/0.3865, allocations: 22.67 kB / 0.5344 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3866, allocations: 42.7 kB / 0.5344 GB, free: 5.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.396e-06/0.3866, allocations: 4.969 kB / 0.5344 GB, free: 5.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.007233/0.3938, allocations: 3.092 MB / 0.5375 GB, free: 3.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.3939, allocations: 95 kB / 0.5375 GB, free: 3.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.3944, allocations: 351.4 kB / 0.5379 GB, free: 3.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/0.3945, allocations: 48 kB / 0.5379 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.3947, allocations: 318.8 kB / 0.5382 GB, free: 3.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.3951, allocations: 315.6 kB / 0.5385 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.3953, allocations: 159.8 kB / 0.5387 GB, free: 2.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3955, allocations: 363.1 kB / 0.539 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.3962, allocations: 473.2 kB / 0.5395 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.397, allocations: 0.5707 MB / 0.54 GB, free: 1.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.3987, allocations: 1.112 MB / 0.5411 GB, free: 1.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3987, allocations: 1.281 kB / 0.5411 GB, free: 1.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002775/0.4015, allocations: 1.475 MB / 0.5426 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4015, allocations: 8.188 kB / 0.5426 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4015, allocations: 4 kB / 0.5426 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/0.4025, allocations: 334.2 kB / 0.5429 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.4033, allocations: 179.7 kB / 0.5431 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/0.4091, allocations: 4.186 MB / 0.5472 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/0.4099, allocations: 55.94 kB / 0.5472 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4101, allocations: 31.98 kB / 0.5472 GB, free: 11.45 MB / 414.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.0006154/0.4107, allocations: 289.6 kB / 0.5475 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.411, allocations: 55.34 kB / 0.5476 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.4138, allocations: 1.575 MB / 0.5491 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4139, allocations: 12 kB / 0.5491 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4139, allocations: 7.984 kB / 0.5491 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4139, allocations: 3.984 kB / 0.5491 GB, free: 9.492 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 postOpt removeSimpleEquations (simulation): time 0.005453/0.4193, allocations: 3.027 MB / 0.5521 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4194, allocations: 4 kB / 0.5521 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.42, allocations: 171.7 kB / 0.5522 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/0.4209, allocations: 281 kB / 0.5525 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/0.421, allocations: 27.98 kB / 0.5525 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.426, allocations: 3.907 MB / 0.5564 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4261, allocations: 4 kB / 0.5564 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.4286, allocations: 1.598 MB / 0.5579 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.4289, allocations: 140.6 kB / 0.5581 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.429, allocations: 35.86 kB / 0.5581 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.4295, allocations: 39.97 kB / 0.5581 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.4297, allocations: 80.83 kB / 0.5582 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.4298, allocations: 39.92 kB / 0.5582 GB, free: 15.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.4301, allocations: 255.2 kB / 0.5585 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4301, allocations: 3.938 kB / 0.5585 GB, free: 15.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001242/0.4314, allocations: 308 kB / 0.5588 GB, free: 15.23 MB / 430.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.002873/0.4343, allocations: 2.16 MB / 0.5609 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.4365, allocations: 1.402 MB / 0.5623 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4365, allocations: 0 / 0.5623 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.4378, allocations: 0.8477 MB / 0.5631 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.4387, allocations: 110.2 kB / 0.5632 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.4509, allocations: 7.53 MB / 0.5705 GB, free: 2.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/0.4519, allocations: 1.072 MB / 0.5716 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.4524, allocations: 180.6 kB / 0.5718 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.4528, allocations: 263.3 kB / 0.572 GB, free: 1.316 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4528, allocations: 4 kB / 0.572 GB, free: 1.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.4981, allocations: 16.8 MB / 0.5884 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.8, allocations: 7.875 kB / 0.5884 GB, free: 0.6289 MB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches