Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.001574/0.001574, allocations: 188.3 kB / 18.67 MB, free: 4.395 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.175/0.175, allocations: 38.03 MB / 330.6 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3077, allocations: 58.05 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004873/0.3126, allocations: 4.567 MB / 0.5092 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3146, allocations: 1.555 MB / 0.5107 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.3148, allocations: 13.25 kB / 0.5108 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007349/0.3156, allocations: 290.4 kB / 0.511 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.3161, allocations: 268 kB / 0.5113 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.3167, allocations: 255 kB / 0.5115 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.3173, allocations: 0.6081 MB / 0.5121 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.3177, allocations: 259.4 kB / 0.5124 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.318, allocations: 270.9 kB / 0.5126 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.3185, allocations: 333.2 kB / 0.513 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.3186, allocations: 33.91 kB / 0.513 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.3189, allocations: 144.5 kB / 0.5131 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.3191, allocations: 219.3 kB / 0.5133 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.3194, allocations: 247.1 kB / 0.5136 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.32, allocations: 0.5974 MB / 0.5142 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.32, allocations: 0 / 0.5142 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.32, allocations: 0 / 0.5142 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.32, allocations: 1.25 kB / 0.5142 GB, free: 1.988 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001298/0.3213, allocations: 0.7713 MB / 0.5149 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3214, allocations: 11.92 kB / 0.5149 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.322, allocations: 94.64 kB / 0.515 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.3226, allocations: 419.6 kB / 0.5154 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3227, allocations: 29.53 kB / 0.5154 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.3228, allocations: 55.25 kB / 0.5155 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.3238, allocations: 0.6643 MB / 0.5161 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.3239, allocations: 6.469 kB / 0.5161 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.3239, allocations: 16.41 kB / 0.5162 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.3241, allocations: 47.17 kB / 0.5162 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.325, allocations: 495.3 kB / 0.5167 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.3285, allocations: 3.148 MB / 0.5198 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.329, allocations: 238.1 kB / 0.52 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3292, allocations: 121.3 kB / 0.5201 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.3292, allocations: 10.92 kB / 0.5201 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3293, allocations: 41.36 kB / 0.5201 GB, free: 13.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.3293, allocations: 0 / 0.5201 GB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001608/0.3309, allocations: 0.8911 MB / 0.521 GB, free: 13.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.331, allocations: 79.39 kB / 0.5211 GB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.3314, allocations: 336.5 kB / 0.5214 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.3314, allocations: 26.89 kB / 0.5214 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3316, allocations: 299.2 kB / 0.5217 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.3317, allocations: 91.12 kB / 0.5218 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3318, allocations: 88.72 kB / 0.5219 GB, free: 12.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.332, allocations: 347.7 kB / 0.5222 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.3322, allocations: 136.7 kB / 0.5224 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.3325, allocations: 321 kB / 0.5227 GB, free: 11.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.3332, allocations: 499.2 kB / 0.5231 GB, free: 11.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3332, allocations: 5.062 kB / 0.5231 GB, free: 11.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001121/0.3343, allocations: 0.5869 MB / 0.5237 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3343, allocations: 8.25 kB / 0.5237 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006613/0.335, allocations: 336.6 kB / 0.524 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.3355, allocations: 120.4 kB / 0.5242 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.3358, allocations: 90.62 kB / 0.5242 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.3386, allocations: 3.275 MB / 0.5274 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.3389, allocations: 23.73 kB / 0.5275 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3389, allocations: 27.7 kB / 0.5275 GB, free: 8.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.3392, allocations: 212.7 kB / 0.5277 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.3392, allocations: 30.66 kB / 0.5277 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.3398, allocations: 312.9 kB / 0.528 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3398, allocations: 2.469 kB / 0.528 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3398, allocations: 0 / 0.528 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.34, allocations: 134.5 kB / 0.5282 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.34, allocations: 7.234 kB / 0.5282 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3402, allocations: 9.328 kB / 0.5282 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3402, allocations: 14.67 kB / 0.5282 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007708/0.341, allocations: 484.1 kB / 0.5286 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007109/0.3417, allocations: 0.6663 MB / 0.5293 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001778/0.3419, allocations: 130.8 kB / 0.5294 GB, free: 6.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.3421, allocations: 221.3 kB / 0.5296 GB, free: 6.766 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3422, allocations: 1.438 kB / 0.5296 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3435, allocations: 0.6274 MB / 0.5302 GB, free: 6.375 MB / 398.1 MB Notification: Performance of SimCode: time 0.001765/0.3453, allocations: 1.388 MB / 0.5316 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Templates: time 0.01003/0.3553, allocations: 4.884 MB / 0.5364 GB, free: 3.602 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches