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.001396/0.001396, allocations: 105.7 kB / 17.06 MB, free: 6.012 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.001631/0.001632, allocations: 195 kB / 18 MB, free: 5.094 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1754/0.1754, allocations: 38.04 MB / 329.9 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 457.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3216, allocations: 58.05 MB / 0.5036 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007643/0.3293, allocations: 7.431 MB / 0.5109 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.3348, allocations: 4.392 MB / 0.5152 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.3355, allocations: 13.12 kB / 0.5152 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.3384, allocations: 1.03 MB / 0.5162 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.3417, allocations: 1.198 MB / 0.5174 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3428, allocations: 320.9 kB / 0.5177 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.3447, allocations: 1.406 MB / 0.519 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3458, allocations: 0.6553 MB / 0.5197 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3469, allocations: 0.6186 MB / 0.5203 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.3479, allocations: 0.6815 MB / 0.5209 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.348, allocations: 63.75 kB / 0.521 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.3506, allocations: 1.331 MB / 0.5223 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.3511, allocations: 477.5 kB / 0.5228 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.3517, allocations: 441.7 kB / 0.5232 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.3542, allocations: 1.457 MB / 0.5246 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3542, allocations: 4.641 kB / 0.5246 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3542, allocations: 1.5 kB / 0.5246 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.3543, allocations: 4 kB / 0.5246 GB, free: 10.96 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.001944/0.3562, allocations: 1.119 MB / 0.5257 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3563, allocations: 13.14 kB / 0.5257 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.3564, allocations: 125.1 kB / 0.5258 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.3597, allocations: 390 kB / 0.5262 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.3608, allocations: 488.8 kB / 0.5267 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.3609, allocations: 54.67 kB / 0.5267 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.361, allocations: 80.8 kB / 0.5268 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.3632, allocations: 1.183 MB / 0.528 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.3632, allocations: 1.344 kB / 0.528 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.3633, allocations: 26.31 kB / 0.528 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3634, allocations: 73.02 kB / 0.5281 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3655, allocations: 1.244 MB / 0.5293 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.3714, allocations: 3.487 MB / 0.5327 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.3731, allocations: 1.062 MB / 0.5337 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/0.3739, allocations: 0.6677 MB / 0.5344 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.374, allocations: 10.31 kB / 0.5344 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3741, allocations: 55.17 kB / 0.5344 GB, free: 5.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.326e-06/0.3741, allocations: 5.031 kB / 0.5344 GB, free: 5.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.007006/0.3811, allocations: 3.092 MB / 0.5375 GB, free: 3.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.3812, allocations: 91.28 kB / 0.5375 GB, free: 3.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.3816, allocations: 358.3 kB / 0.5379 GB, free: 3.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.3817, allocations: 41.45 kB / 0.5379 GB, free: 3.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3819, allocations: 314.9 kB / 0.5382 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3822, allocations: 314.9 kB / 0.5385 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.3825, allocations: 161 kB / 0.5387 GB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3827, allocations: 366 kB / 0.539 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.3834, allocations: 470.4 kB / 0.5395 GB, free: 2.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.3842, allocations: 0.5651 MB / 0.54 GB, free: 1.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.3859, allocations: 1.117 MB / 0.5411 GB, free: 1.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3859, allocations: 1.438 kB / 0.5411 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002856/0.3888, allocations: 1.476 MB / 0.5426 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.3888, allocations: 4 kB / 0.5426 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.3888, allocations: 4 kB / 0.5426 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3899, allocations: 334.4 kB / 0.5429 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.3907, allocations: 191.7 kB / 0.5431 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.3963, allocations: 4.178 MB / 0.5471 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/0.397, allocations: 47.94 kB / 0.5472 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3971, allocations: 39.98 kB / 0.5472 GB, free: 11.48 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.0006125/0.3978, allocations: 293.7 kB / 0.5475 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3979, allocations: 55.34 kB / 0.5476 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.4009, allocations: 1.563 MB / 0.5491 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4009, allocations: 12 kB / 0.5491 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.4009, allocations: 11.98 kB / 0.5491 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4009, allocations: 3.984 kB / 0.5491 GB, free: 9.523 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.005483/0.4064, allocations: 3.031 MB / 0.5521 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.4064, allocations: 0 / 0.5521 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/0.4071, allocations: 171.7 kB / 0.5522 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008379/0.408, allocations: 284.8 kB / 0.5525 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.4081, allocations: 31.92 kB / 0.5525 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.4131, allocations: 3.917 MB / 0.5564 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4131, allocations: 4 kB / 0.5564 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.4158, allocations: 1.598 MB / 0.5579 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.416, allocations: 136.4 kB / 0.5581 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4162, allocations: 27.92 kB / 0.5581 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.4168, allocations: 43.97 kB / 0.5581 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.4169, allocations: 80.83 kB / 0.5582 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.417, allocations: 39.92 kB / 0.5582 GB, free: 15.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.4173, allocations: 263.1 kB / 0.5585 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4173, allocations: 0 / 0.5585 GB, free: 15.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4185, allocations: 300 kB / 0.5588 GB, free: 15.26 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.002724/0.4212, allocations: 2.164 MB / 0.5609 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.4234, allocations: 1.405 MB / 0.5623 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4234, allocations: 4.188 kB / 0.5623 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4246, allocations: 0.8435 MB / 0.5631 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.4254, allocations: 109.1 kB / 0.5632 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.436, allocations: 7.522 MB / 0.5705 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.4368, allocations: 1.072 MB / 0.5716 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004412/0.4372, allocations: 180.6 kB / 0.5718 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.4376, allocations: 255.3 kB / 0.572 GB, free: 1.352 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4376, allocations: 0 / 0.572 GB, free: 1.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.4795, allocations: 16.81 MB / 0.5884 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.94, allocations: 11.94 kB / 0.5884 GB, free: 0.6523 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