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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009544, allocations: 97.77 kB / 16.3 MB, free: 5.656 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.0009446/0.0009447, allocations: 182.5 kB / 17.2 MB, free: 5.59 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.293/1.293, allocations: 223.2 MB / 241.1 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.292/0.292, allocations: 38.07 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003166, allocations: 11.98 kB / 400 MB, free: 9.254 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 59.15 MB / 459.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005661/0.2713, allocations: 6.484 MB / 465.6 MB, free: 25.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.2756, allocations: 3.98 MB / 469.6 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.276, allocations: 16.12 kB / 469.6 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.2763, allocations: 150.3 kB / 469.7 MB, free: 22.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.2779, allocations: 0.6329 MB / 470.4 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.2785, allocations: 242 kB / 470.6 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.2791, allocations: 0.5752 MB / 471.2 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.2808, allocations: 1.186 MB / 472.4 MB, free: 21.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.2814, allocations: 377.2 kB / 472.7 MB, free: 21.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.2818, allocations: 353.6 kB / 473.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.2819, allocations: 30.28 kB / 473.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2834, allocations: 0.7002 MB / 473.8 MB, free: 20.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.2838, allocations: 393.5 kB / 474.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.284, allocations: 174.9 kB / 474.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.2856, allocations: 1.025 MB / 475.4 MB, free: 20.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2856, allocations: 0 / 475.4 MB, free: 20.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2857, allocations: 1.375 kB / 475.4 MB, free: 20.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2857, allocations: 0 / 475.4 MB, free: 20.52 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.001379/0.2871, allocations: 0.9911 MB / 476.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2871, allocations: 9.625 kB / 476.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.2902, allocations: 432.3 kB / 476.8 MB, free: 19.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/0.2909, allocations: 476.9 kB / 477.3 MB, free: 19.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.291, allocations: 54.2 kB / 477.3 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.2911, allocations: 70.34 kB / 477.4 MB, free: 19.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.2928, allocations: 1.163 MB / 478.6 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2928, allocations: 2.25 kB / 478.6 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.2929, allocations: 34.98 kB / 478.6 MB, free: 18.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-05/0.293, allocations: 73.27 kB / 478.7 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.2946, allocations: 1.24 MB / 479.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00473/0.2993, allocations: 3.524 MB / 483.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.3006, allocations: 1.068 MB / 484.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.3006, allocations: 25.03 kB / 484.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3007, allocations: 43.56 kB / 484.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.514e-06/0.3007, allocations: 0 / 484.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.005427/0.3061, allocations: 3.065 MB / 487.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3062, allocations: 86.11 kB / 487.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.3065, allocations: 357.6 kB / 488.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.3066, allocations: 41.7 kB / 488.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3067, allocations: 312.2 kB / 488.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.3069, allocations: 311.4 kB / 488.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3069, allocations: 20 kB / 488.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.307, allocations: 370.7 kB / 489.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.3075, allocations: 469.8 kB / 489.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.3081, allocations: 0.5579 MB / 490.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.3087, allocations: 0.5417 MB / 490.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3087, allocations: 0 / 490.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001864/0.3106, allocations: 1.473 MB / 492.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3106, allocations: 4 kB / 492.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3106, allocations: 4.188 kB / 492.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/0.3114, allocations: 338.2 kB / 492.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.312, allocations: 183.7 kB / 492.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.3159, allocations: 3.95 MB / 496.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.3165, allocations: 51.88 kB / 496.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.3166, allocations: 39.98 kB / 496.7 MB, free: 1.887 MB / 350.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.0003995/0.317, allocations: 293.5 kB / 497 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.3171, allocations: 63.25 kB / 497 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.3192, allocations: 1.551 MB / 498.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3193, allocations: 11.94 kB / 498.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3193, allocations: 8 kB / 498.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.3193, allocations: 3.984 kB / 498.6 MB, free: 15.94 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.004926/0.3242, allocations: 3.028 MB / 0.4899 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3243, allocations: 8.031 kB / 0.4899 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.3249, allocations: 167.8 kB / 0.4901 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.3256, allocations: 292.5 kB / 0.4903 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.3257, allocations: 20 kB / 0.4904 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.3302, allocations: 3.694 MB / 0.494 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.3302, allocations: 11.94 kB / 0.494 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.3326, allocations: 1.762 MB / 0.4957 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.3328, allocations: 148.3 kB / 0.4958 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.3329, allocations: 20 kB / 0.4959 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.3333, allocations: 47.95 kB / 0.4959 GB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3334, allocations: 80.78 kB / 0.496 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.3335, allocations: 32 kB / 0.496 GB, free: 6.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.3338, allocations: 263.1 kB / 0.4963 GB, free: 5.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3338, allocations: 0 / 0.4963 GB, free: 5.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009566/0.3347, allocations: 304 kB / 0.4965 GB, free: 5.637 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.0001516/0.3349, allocations: 123.1 kB / 0.4967 GB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.3368, allocations: 1.385 MB / 0.498 GB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3368, allocations: 4 kB / 0.498 GB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.3379, allocations: 0.84 MB / 0.4988 GB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.3384, allocations: 84.8 kB / 0.4989 GB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.341, allocations: 2.09 MB / 0.501 GB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.3417, allocations: 1.086 MB / 0.502 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004115/0.3421, allocations: 180.6 kB / 0.5022 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3423, allocations: 63.41 kB / 0.5023 GB, free: 15.66 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3423, allocations: 0 / 0.5023 GB, free: 15.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01414/0.3564, allocations: 9.051 MB / 0.5111 GB, free: 6.625 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile Environment - environmentSimulation: (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches