Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 105.1 kB / 17.74 MB, free: 5.336 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.001043/0.001043, allocations: 198.5 kB / 18.68 MB, free: 4.406 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.294/1.294, 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.1714/0.1714, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3011, allocations: 58.05 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004767/0.3059, allocations: 4.566 MB / 0.5092 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3078, allocations: 1.312 MB / 0.5105 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.3081, allocations: 12.88 kB / 0.5105 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.3091, allocations: 405.3 kB / 0.5109 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.3098, allocations: 250.2 kB / 0.5111 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.3102, allocations: 165.7 kB / 0.5113 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.3108, allocations: 0.5561 MB / 0.5118 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.3112, allocations: 290.9 kB / 0.5121 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.3116, allocations: 253.9 kB / 0.5124 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.312, allocations: 284.1 kB / 0.5126 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.3121, allocations: 30.41 kB / 0.5127 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.3123, allocations: 126.1 kB / 0.5128 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3125, allocations: 199 kB / 0.513 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3127, allocations: 216.4 kB / 0.5132 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.3133, allocations: 0.5164 MB / 0.5137 GB, free: 2.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3133, allocations: 0 / 0.5137 GB, free: 2.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3133, allocations: 2.062 kB / 0.5137 GB, free: 2.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3133, allocations: 0 / 0.5137 GB, free: 2.258 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009986/0.3144, allocations: 0.7029 MB / 0.5144 GB, free: 1.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3144, allocations: 17.78 kB / 0.5144 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.315, allocations: 82.23 kB / 0.5145 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.3156, allocations: 415.3 kB / 0.5149 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.3156, allocations: 27.52 kB / 0.5149 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3158, allocations: 46.06 kB / 0.5149 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.3164, allocations: 474.6 kB / 0.5154 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3165, allocations: 9.031 kB / 0.5154 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.3165, allocations: 20.27 kB / 0.5154 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.3166, allocations: 23.44 kB / 0.5154 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.3172, allocations: 354 kB / 0.5158 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.3193, allocations: 1.723 MB / 0.5175 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.3196, allocations: 157.7 kB / 0.5176 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3198, allocations: 110.5 kB / 0.5177 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3198, allocations: 6.219 kB / 0.5177 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3198, allocations: 32.88 kB / 0.5178 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3198, allocations: 4 kB / 0.5178 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001579/0.3214, allocations: 0.8857 MB / 0.5186 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3215, allocations: 80.41 kB / 0.5187 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3218, allocations: 314.7 kB / 0.519 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3218, allocations: 33.83 kB / 0.519 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.322, allocations: 246.1 kB / 0.5193 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.3221, allocations: 64.53 kB / 0.5193 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/0.3222, allocations: 59.14 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3223, allocations: 340.6 kB / 0.5197 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3225, allocations: 97.3 kB / 0.5198 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3227, allocations: 207.3 kB / 0.52 GB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3231, allocations: 331.3 kB / 0.5203 GB, free: 13.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3231, allocations: 0.9688 kB / 0.5203 GB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008989/0.324, allocations: 471.7 kB / 0.5208 GB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.324, allocations: 7.703 kB / 0.5208 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006042/0.3246, allocations: 309.9 kB / 0.5211 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.3251, allocations: 145.6 kB / 0.5212 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3254, allocations: 59.88 kB / 0.5213 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.3282, allocations: 2.438 MB / 0.5236 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.3284, allocations: 17.33 kB / 0.5237 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3284, allocations: 11.22 kB / 0.5237 GB, free: 11.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.3287, allocations: 187.7 kB / 0.5239 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.3287, allocations: 29.98 kB / 0.5239 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.3292, allocations: 270.5 kB / 0.5241 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3292, allocations: 5.297 kB / 0.5241 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3292, allocations: 1.375 kB / 0.5241 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.3293, allocations: 102.3 kB / 0.5242 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.3293, allocations: 8.203 kB / 0.5243 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3295, allocations: 5.422 kB / 0.5243 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.3295, allocations: 13.62 kB / 0.5243 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007351/0.3303, allocations: 454.5 kB / 0.5247 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005348/0.3308, allocations: 0.5622 MB / 0.5253 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001287/0.3309, allocations: 90.3 kB / 0.5253 GB, free: 10.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.3312, allocations: 218.1 kB / 0.5255 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Backend: time 7.32e-07/0.3312, allocations: 3.938 kB / 0.5256 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3323, allocations: 477.5 kB / 0.526 GB, free: 9.863 MB / 398.1 MB Notification: Performance of SimCode: time 0.001568/0.3339, allocations: 1.322 MB / 0.5273 GB, free: 8.871 MB / 398.1 MB Notification: Performance of Templates: time 0.009144/0.3431, allocations: 4.788 MB / 0.532 GB, free: 7.434 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches