Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001184, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001158/0.001158, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 58.05 MB / 0.5048 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00639/0.2963, allocations: 7.422 MB / 0.512 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.3014, allocations: 4.39 MB / 0.5163 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.3018, allocations: 16.91 kB / 0.5163 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.3043, allocations: 1.024 MB / 0.5173 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.3071, allocations: 1.219 MB / 0.5185 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.308, allocations: 323.7 kB / 0.5188 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.31, allocations: 1.406 MB / 0.5202 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.3111, allocations: 0.6531 MB / 0.5208 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3123, allocations: 0.6189 MB / 0.5214 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.3135, allocations: 0.6794 MB / 0.5221 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.3137, allocations: 63.59 kB / 0.5222 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.3164, allocations: 1.33 MB / 0.5235 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.3171, allocations: 486 kB / 0.5239 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.3182, allocations: 437.5 kB / 0.5243 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.3208, allocations: 1.454 MB / 0.5258 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3208, allocations: 4.984 kB / 0.5258 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3208, allocations: 3.938 kB / 0.5258 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3209, allocations: 0 / 0.5258 GB, free: 11.14 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.001767/0.3226, allocations: 1.119 MB / 0.5269 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3227, allocations: 13.58 kB / 0.5269 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.3259, allocations: 389.7 kB / 0.5272 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.3268, allocations: 494.7 kB / 0.5277 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.3268, allocations: 49.81 kB / 0.5278 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.327, allocations: 75.39 kB / 0.5278 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.329, allocations: 1.182 MB / 0.529 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.329, allocations: 6.094 kB / 0.529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.3291, allocations: 30.81 kB / 0.529 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.553e-05/0.3292, allocations: 70.03 kB / 0.5291 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.3311, allocations: 1.246 MB / 0.5303 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005381/0.3365, allocations: 3.484 MB / 0.5337 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.3382, allocations: 1.066 MB / 0.5347 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000917/0.3391, allocations: 0.6564 MB / 0.5354 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.3392, allocations: 23.22 kB / 0.5354 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3392, allocations: 46.89 kB / 0.5355 GB, free: 5.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.807e-06/0.3393, allocations: 0 / 0.5355 GB, free: 5.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006967/0.3462, allocations: 3.084 MB / 0.5385 GB, free: 4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3463, allocations: 99.62 kB / 0.5386 GB, free: 3.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.3468, allocations: 362.7 kB / 0.5389 GB, free: 3.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.3469, allocations: 36.17 kB / 0.5389 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3471, allocations: 318.8 kB / 0.5392 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.3474, allocations: 315.7 kB / 0.5395 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.3477, allocations: 161 kB / 0.5397 GB, free: 2.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3478, allocations: 361.9 kB / 0.54 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.3485, allocations: 474.3 kB / 0.5405 GB, free: 2.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.3494, allocations: 0.5733 MB / 0.5411 GB, free: 2.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.351, allocations: 1.112 MB / 0.5421 GB, free: 1.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.351, allocations: 1.125 kB / 0.5421 GB, free: 1.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002638/0.3537, allocations: 1.476 MB / 0.5436 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3537, allocations: 4 kB / 0.5436 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3537, allocations: 4.188 kB / 0.5436 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/0.3547, allocations: 334.2 kB / 0.5439 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.3554, allocations: 183.7 kB / 0.5441 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/0.3609, allocations: 4.184 MB / 0.5482 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.3615, allocations: 47.94 kB / 0.5482 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3616, allocations: 40.05 kB / 0.5483 GB, free: 11.52 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.0004763/0.3621, allocations: 289.6 kB / 0.5485 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3623, allocations: 55.34 kB / 0.5486 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.3651, allocations: 1.574 MB / 0.5501 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.3651, allocations: 7.969 kB / 0.5501 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3651, allocations: 0 / 0.5501 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.3653, allocations: 144.3 kB / 0.5503 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3654, allocations: 16 kB / 0.5503 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.3659, allocations: 39.95 kB / 0.5503 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3661, allocations: 92.78 kB / 0.5504 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003145/0.3692, allocations: 1.716 MB / 0.5521 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002498/0.3717, allocations: 1.951 MB / 0.554 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006917/0.3724, allocations: 0.5308 MB / 0.5545 GB, free: 5.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.3727, allocations: 255.2 kB / 0.5548 GB, free: 4.793 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.3727, allocations: 0 / 0.5548 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003602/0.3763, allocations: 1.572 MB / 0.5563 GB, free: 3.203 MB / 414.1 MB Notification: Performance of SimCode: time 0.002605/0.379, allocations: 1.952 MB / 0.5582 GB, free: 1.207 MB / 414.1 MB Notification: Performance of Templates: time 0.02546/0.4044, allocations: 16.32 MB / 0.5741 GB, free: 0.8828 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches