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.0008813/0.0008814, allocations: 85.61 kB / 16.31 MB, free: 6.449 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.0009788/0.0009789, allocations: 184.3 kB / 17.21 MB, free: 6.316 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.218/1.218, allocations: 223.3 MB / 241.2 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2654/0.2654, allocations: 38.07 MB / 330.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 11.98 kB / 400.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2256, allocations: 59.17 MB / 459.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005155/0.2308, allocations: 6.748 MB / 466 MB, free: 25.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004155/0.235, allocations: 4.115 MB / 470.1 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.2353, allocations: 15.69 kB / 470.1 MB, free: 22.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.2356, allocations: 138.4 kB / 470.2 MB, free: 22.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.2372, allocations: 0.8843 MB / 471.1 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.2378, allocations: 239.5 kB / 471.4 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.2396, allocations: 1.908 MB / 473.3 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.2415, allocations: 1.182 MB / 474.5 MB, free: 20.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007897/0.2423, allocations: 497.1 kB / 474.9 MB, free: 20.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008202/0.2431, allocations: 0.6596 MB / 475.6 MB, free: 20.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.2432, allocations: 31.62 kB / 475.6 MB, free: 20.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.2445, allocations: 0.7416 MB / 476.4 MB, free: 19.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.2448, allocations: 445.7 kB / 476.8 MB, free: 19.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.245, allocations: 171.7 kB / 477 MB, free: 19.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009736/0.246, allocations: 1.03 MB / 478 MB, free: 18.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.246, allocations: 0 / 478 MB, free: 18.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.246, allocations: 1.125 kB / 478 MB, free: 18.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.246, allocations: 3.938 kB / 478 MB, free: 18.77 MB / 350.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.001115/0.2471, allocations: 0.9918 MB / 479 MB, free: 17.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2472, allocations: 9.094 kB / 479 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.2499, allocations: 394.3 kB / 479.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.2504, allocations: 461.9 kB / 479.8 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.2504, allocations: 55.48 kB / 479.9 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.2506, allocations: 85.66 kB / 480 MB, free: 17.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2521, allocations: 1.169 MB / 481.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.2521, allocations: 5.438 kB / 481.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.2522, allocations: 26.89 kB / 481.2 MB, free: 16.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/0.2523, allocations: 73.36 kB / 481.3 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.2538, allocations: 1.233 MB / 482.5 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.2577, allocations: 3.535 MB / 486 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.259, allocations: 1.064 MB / 487.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.2596, allocations: 0.6539 MB / 487.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.2597, allocations: 20.97 kB / 487.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2597, allocations: 47.78 kB / 487.8 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.104e-06/0.2597, allocations: 4 kB / 487.8 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.004832/0.2645, allocations: 3.048 MB / 490.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2646, allocations: 90.05 kB / 491 MB, free: 7.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.2648, allocations: 365.6 kB / 491.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2649, allocations: 41.7 kB / 491.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.265, allocations: 308.2 kB / 491.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.2652, allocations: 311.4 kB / 492 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.2652, allocations: 20 kB / 492 MB, free: 6.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.2653, allocations: 370.7 kB / 492.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.2658, allocations: 465.7 kB / 492.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.2663, allocations: 0.5696 MB / 493.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.2669, allocations: 0.5378 MB / 493.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2669, allocations: 4 kB / 493.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001811/0.2688, allocations: 1.469 MB / 495.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2688, allocations: 6.188 kB / 495.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2688, allocations: 4 kB / 495.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.2695, allocations: 334.4 kB / 495.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.2701, allocations: 183.7 kB / 495.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.274, allocations: 3.856 MB / 499.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.2744, allocations: 51.88 kB / 499.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.2745, allocations: 44.05 kB / 499.8 MB, free: 14.7 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.2749, allocations: 285.6 kB / 0.4884 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.275, allocations: 67.23 kB / 0.4885 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.2773, allocations: 1.555 MB / 0.49 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.2774, allocations: 8 kB / 0.49 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2774, allocations: 8 kB / 0.49 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.2774, allocations: 7.969 kB / 0.49 GB, free: 12.75 MB / 366.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.004168/0.2816, allocations: 3.024 MB / 0.493 GB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.2816, allocations: 7.938 kB / 0.493 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.2822, allocations: 175.6 kB / 0.4931 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/0.2828, allocations: 284.9 kB / 0.4934 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.2829, allocations: 27.98 kB / 0.4934 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/0.2869, allocations: 3.603 MB / 0.4969 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2869, allocations: 8 kB / 0.497 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.2889, allocations: 1.592 MB / 0.4985 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2891, allocations: 144.3 kB / 0.4986 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.2892, allocations: 20 kB / 0.4987 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.2896, allocations: 43.95 kB / 0.4987 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2897, allocations: 84.78 kB / 0.4988 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.2898, allocations: 36 kB / 0.4988 GB, free: 3.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.29, allocations: 259.1 kB / 0.4991 GB, free: 3.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.29, allocations: 0 / 0.4991 GB, free: 3.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008557/0.2909, allocations: 300 kB / 0.4994 GB, free: 2.805 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.291, allocations: 123.1 kB / 0.4995 GB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.2928, allocations: 1.385 MB / 0.5008 GB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2928, allocations: 0.5625 kB / 0.5008 GB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2939, allocations: 0.843 MB / 0.5016 GB, free: 436 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.2945, allocations: 107.3 kB / 0.5017 GB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.297, allocations: 2.089 MB / 0.5038 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.2977, allocations: 1.068 MB / 0.5048 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.2981, allocations: 184.6 kB / 0.505 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.2983, allocations: 71.41 kB / 0.5051 GB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2983, allocations: 0 / 0.5051 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01296/0.3113, allocations: 9.067 MB / 0.5139 GB, free: 3.754 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches