Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001198/0.001198, allocations: 187 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1713/0.1713, allocations: 38.03 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3166, allocations: 58.05 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004766/0.3214, allocations: 4.431 MB / 0.5091 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3234, allocations: 1.405 MB / 0.5105 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.3236, allocations: 13.5 kB / 0.5105 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009572/0.3245, allocations: 385.9 kB / 0.5108 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.3251, allocations: 256.5 kB / 0.5111 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.3259, allocations: 240 kB / 0.5113 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.3266, allocations: 0.5559 MB / 0.5119 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000544/0.3272, allocations: 279.9 kB / 0.5121 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.3276, allocations: 269.2 kB / 0.5124 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/0.3283, allocations: 355.4 kB / 0.5127 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.61e-05/0.3284, allocations: 39.69 kB / 0.5128 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.3289, allocations: 224.8 kB / 0.513 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.3292, allocations: 239.5 kB / 0.5132 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.3296, allocations: 262.5 kB / 0.5134 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009785/0.3305, allocations: 0.678 MB / 0.5141 GB, free: 2.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3306, allocations: 0 / 0.5141 GB, free: 2.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3306, allocations: 0 / 0.5141 GB, free: 2.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3306, allocations: 0 / 0.5141 GB, free: 2.129 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001441/0.332, allocations: 0.7655 MB / 0.5149 GB, free: 1.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3321, allocations: 13.45 kB / 0.5149 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/0.3328, allocations: 90.75 kB / 0.515 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.3335, allocations: 429.5 kB / 0.5154 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.3335, allocations: 29.81 kB / 0.5154 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3337, allocations: 49.97 kB / 0.5154 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009967/0.3347, allocations: 0.679 MB / 0.5161 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3347, allocations: 1.062 kB / 0.5161 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.3348, allocations: 15.72 kB / 0.5161 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/0.3349, allocations: 51.8 kB / 0.5162 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3361, allocations: 0.6677 MB / 0.5168 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.34, allocations: 2.519 MB / 0.5193 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.3405, allocations: 339.7 kB / 0.5196 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.3409, allocations: 226.8 kB / 0.5198 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3409, allocations: 5.953 kB / 0.5198 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3409, allocations: 43.92 kB / 0.5199 GB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.341, allocations: 1.438 kB / 0.5199 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.00218/0.3431, allocations: 1.351 MB / 0.5212 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.3432, allocations: 81.64 kB / 0.5213 GB, free: 13.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3436, allocations: 299.6 kB / 0.5216 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3436, allocations: 35.77 kB / 0.5216 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.3438, allocations: 260.9 kB / 0.5218 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3439, allocations: 145.2 kB / 0.522 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3441, allocations: 96.14 kB / 0.5221 GB, free: 13.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3443, allocations: 355.9 kB / 0.5224 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.3446, allocations: 201.2 kB / 0.5226 GB, free: 12.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.345, allocations: 368.8 kB / 0.5229 GB, free: 12.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.3458, allocations: 0.6073 MB / 0.5235 GB, free: 12.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3458, allocations: 1.969 kB / 0.5235 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009248/0.3467, allocations: 0.6216 MB / 0.5241 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3467, allocations: 8.547 kB / 0.5242 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3467, allocations: 5.469 kB / 0.5242 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.3468, allocations: 7.75 kB / 0.5242 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.3472, allocations: 118.2 kB / 0.5243 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3472, allocations: 12.58 kB / 0.5243 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.3475, allocations: 28.75 kB / 0.5243 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.3475, allocations: 22.36 kB / 0.5243 GB, free: 11.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.3478, allocations: 211.1 kB / 0.5245 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.3479, allocations: 36.62 kB / 0.5246 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.3486, allocations: 0.4932 MB / 0.5251 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3487, allocations: 1.5 kB / 0.5251 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3487, allocations: 1.438 kB / 0.5251 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3488, allocations: 107.9 kB / 0.5252 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3488, allocations: 12.02 kB / 0.5252 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.349, allocations: 15.19 kB / 0.5252 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.3491, allocations: 17.06 kB / 0.5252 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00105/0.3502, allocations: 0.6651 MB / 0.5259 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001231/0.3514, allocations: 0.9834 MB / 0.5268 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002954/0.3517, allocations: 215.1 kB / 0.527 GB, free: 10.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3519, allocations: 212.9 kB / 0.5272 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.352, allocations: 0 / 0.5272 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.3531, allocations: 489.9 kB / 0.5277 GB, free: 10.22 MB / 398.1 MB Notification: Performance of SimCode: time 0.001732/0.3549, allocations: 1.399 MB / 0.5291 GB, free: 9.207 MB / 398.1 MB Notification: Performance of Templates: time 0.01048/0.3653, allocations: 5.613 MB / 0.5345 GB, free: 6.992 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches