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.001342/0.001343, allocations: 110.6 kB / 17.74 MB, free: 5.227 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.001426/0.001426, allocations: 185.5 kB / 18.67 MB, free: 4.309 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.323/1.323, 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.1747/0.1747, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.88 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2893, allocations: 58.04 MB / 0.5048 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007486/0.2969, allocations: 7.419 MB / 0.512 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005052/0.3019, allocations: 4.387 MB / 0.5163 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.3026, allocations: 17.72 kB / 0.5163 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.3052, allocations: 1.027 MB / 0.5173 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.3082, allocations: 1.207 MB / 0.5185 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3093, allocations: 321.7 kB / 0.5188 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.3116, allocations: 1.403 MB / 0.5202 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.3128, allocations: 0.6607 MB / 0.5208 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.314, allocations: 0.6159 MB / 0.5214 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.3153, allocations: 0.6807 MB / 0.5221 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.3155, allocations: 63.72 kB / 0.5221 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3183, allocations: 1.324 MB / 0.5234 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007837/0.3191, allocations: 485.2 kB / 0.5239 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.3201, allocations: 434.1 kB / 0.5243 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.3233, allocations: 1.461 MB / 0.5257 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3233, allocations: 0.75 kB / 0.5257 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3233, allocations: 3.938 kB / 0.5257 GB, free: 11.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.5e-05/0.3234, allocations: 0 / 0.5257 GB, free: 11.56 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.002728/0.3261, allocations: 1.121 MB / 0.5268 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3262, allocations: 13.55 kB / 0.5268 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.3297, allocations: 385.7 kB / 0.5272 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009815/0.3307, allocations: 497.2 kB / 0.5277 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.3308, allocations: 59.7 kB / 0.5277 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.331, allocations: 75.2 kB / 0.5278 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.3333, allocations: 1.174 MB / 0.529 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.3334, allocations: 9.312 kB / 0.529 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.3335, allocations: 35.2 kB / 0.529 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.3336, allocations: 70.39 kB / 0.5291 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.3357, allocations: 1.24 MB / 0.5303 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.3413, allocations: 3.488 MB / 0.5337 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.343, allocations: 1.062 MB / 0.5347 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/0.3439, allocations: 0.656 MB / 0.5354 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.344, allocations: 23.53 kB / 0.5354 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.344, allocations: 43.19 kB / 0.5354 GB, free: 5.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 4.378e-06/0.344, allocations: 4 kB / 0.5354 GB, free: 5.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006614/0.3507, allocations: 3.092 MB / 0.5385 GB, free: 4.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.3507, allocations: 91.67 kB / 0.5385 GB, free: 4.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.3512, allocations: 361.7 kB / 0.5389 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.3513, allocations: 41.83 kB / 0.5389 GB, free: 3.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.3515, allocations: 314.5 kB / 0.5392 GB, free: 3.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.3518, allocations: 311.1 kB / 0.5395 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.352, allocations: 164.4 kB / 0.5397 GB, free: 3.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3522, allocations: 370.9 kB / 0.54 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.3529, allocations: 466.2 kB / 0.5405 GB, free: 2.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.3536, allocations: 0.573 MB / 0.541 GB, free: 2.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.3552, allocations: 1.109 MB / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3552, allocations: 0 / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002451/0.3576, allocations: 1.479 MB / 0.5436 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3577, allocations: 8 kB / 0.5436 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.3577, allocations: 0 / 0.5436 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009056/0.3586, allocations: 338.4 kB / 0.5439 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/0.3593, allocations: 179.7 kB / 0.5441 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/0.3646, allocations: 4.188 MB / 0.5482 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.3652, allocations: 43.95 kB / 0.5482 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.3653, allocations: 35.98 kB / 0.5482 GB, free: 11.7 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.0004681/0.3658, allocations: 301.6 kB / 0.5485 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3659, allocations: 59.28 kB / 0.5486 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.3686, allocations: 1.563 MB / 0.5501 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.3686, allocations: 12 kB / 0.5501 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3686, allocations: 12 kB / 0.5501 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3686, allocations: 7.922 kB / 0.5501 GB, free: 9.73 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.004841/0.3735, allocations: 3.031 MB / 0.5531 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.3735, allocations: 4 kB / 0.5531 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.3741, allocations: 163.8 kB / 0.5533 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007523/0.3749, allocations: 284.6 kB / 0.5535 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.3749, allocations: 27.98 kB / 0.5535 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.3798, allocations: 3.907 MB / 0.5574 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.3798, allocations: 11.88 kB / 0.5574 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.3822, allocations: 1.594 MB / 0.5589 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3825, allocations: 140.3 kB / 0.5591 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.3826, allocations: 24 kB / 0.5591 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.3831, allocations: 43.89 kB / 0.5591 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3832, allocations: 76.84 kB / 0.5592 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.159e-05/0.3833, allocations: 43.92 kB / 0.5592 GB, free: 28 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.3836, allocations: 263.2 kB / 0.5595 GB, free: 15.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3836, allocations: 0 / 0.5595 GB, free: 15.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00104/0.3847, allocations: 308 kB / 0.5598 GB, free: 15.47 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.0001551/0.3848, allocations: 127 kB / 0.5599 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.3868, allocations: 1.413 MB / 0.5613 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3868, allocations: 0.5625 kB / 0.5613 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3879, allocations: 0.8428 MB / 0.5621 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.3886, allocations: 105.7 kB / 0.5622 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.3912, allocations: 1.85 MB / 0.564 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3919, allocations: 1.079 MB / 0.5651 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.3921, allocations: 67.41 kB / 0.5651 GB, free: 9.844 MB / 430.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3921, allocations: 0 / 0.5651 GB, free: 9.844 MB / 430.1 MB Notification: Performance of Templates: time 0.01509/0.4072, allocations: 12.22 MB / 0.5771 GB, free: 13.61 MB / 446.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