Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 111 kB / 17.74 MB, free: 5.34 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.001411/0.001411, allocations: 192.3 kB / 18.68 MB, free: 4.41 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1842/0.1842, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.89 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 58.05 MB / 0.5048 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005368/0.3379, allocations: 4.579 MB / 0.5092 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.3402, allocations: 1.464 MB / 0.5107 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.3404, allocations: 13.62 kB / 0.5107 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3415, allocations: 389.8 kB / 0.511 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.342, allocations: 241.3 kB / 0.5113 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.3428, allocations: 244.3 kB / 0.5115 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.3434, allocations: 0.5632 MB / 0.5121 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.3439, allocations: 334.5 kB / 0.5124 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.3443, allocations: 266.2 kB / 0.5126 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.3448, allocations: 311.3 kB / 0.5129 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.3449, allocations: 38.59 kB / 0.513 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.3452, allocations: 146.5 kB / 0.5131 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.3455, allocations: 222.2 kB / 0.5133 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.3457, allocations: 253 kB / 0.5136 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.3465, allocations: 0.5981 MB / 0.5141 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3465, allocations: 1.25 kB / 0.5141 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3465, allocations: 0 / 0.5141 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3465, allocations: 0 / 0.5141 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001258/0.3478, allocations: 0.7668 MB / 0.5149 GB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3478, allocations: 16.89 kB / 0.5149 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.3484, allocations: 96.06 kB / 0.515 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.349, allocations: 414.3 kB / 0.5154 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.349, allocations: 38.22 kB / 0.5154 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.3492, allocations: 55.59 kB / 0.5155 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.3501, allocations: 0.6477 MB / 0.5161 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.3501, allocations: 6.531 kB / 0.5161 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.3502, allocations: 18.39 kB / 0.5161 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3503, allocations: 32.25 kB / 0.5162 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.3511, allocations: 484.5 kB / 0.5166 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.3546, allocations: 3 MB / 0.5196 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.3549, allocations: 185.8 kB / 0.5197 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.3551, allocations: 102.4 kB / 0.5198 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.3551, allocations: 10.7 kB / 0.5198 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3552, allocations: 37.56 kB / 0.5199 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.3552, allocations: 0 / 0.5199 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.0014/0.3566, allocations: 0.8434 MB / 0.5207 GB, free: 13.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.3567, allocations: 80.17 kB / 0.5208 GB, free: 13.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.357, allocations: 352.7 kB / 0.5211 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3571, allocations: 30.86 kB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.3573, allocations: 296 kB / 0.5214 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.3574, allocations: 81.77 kB / 0.5215 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3575, allocations: 88.84 kB / 0.5216 GB, free: 12.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3576, allocations: 346.5 kB / 0.5219 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3579, allocations: 126 kB / 0.522 GB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3582, allocations: 329.3 kB / 0.5224 GB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/0.3588, allocations: 0.491 MB / 0.5228 GB, free: 11.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3588, allocations: 6.125 kB / 0.5228 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001039/0.3599, allocations: 0.5593 MB / 0.5234 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3599, allocations: 7.25 kB / 0.5234 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005464/0.3605, allocations: 280.4 kB / 0.5237 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.3608, allocations: 80.86 kB / 0.5237 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.3612, allocations: 96.83 kB / 0.5238 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3629, allocations: 1.728 MB / 0.5255 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.3631, allocations: 23.73 kB / 0.5255 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3632, allocations: 22.67 kB / 0.5256 GB, free: 9.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.3635, allocations: 215.1 kB / 0.5258 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.3635, allocations: 35.27 kB / 0.5258 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.364, allocations: 288.6 kB / 0.5261 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3641, allocations: 6.812 kB / 0.5261 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3641, allocations: 0.5625 kB / 0.5261 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3641, allocations: 2.578 kB / 0.5261 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3653, allocations: 0.7833 MB / 0.5269 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3653, allocations: 5.156 kB / 0.5269 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.3656, allocations: 55.03 kB / 0.5269 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3656, allocations: 5.375 kB / 0.5269 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3657, allocations: 9.672 kB / 0.5269 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3657, allocations: 1.406 kB / 0.5269 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3657, allocations: 6.219 kB / 0.5269 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.3663, allocations: 484.7 kB / 0.5274 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.3664, allocations: 103.6 kB / 0.5275 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.3664, allocations: 8.391 kB / 0.5275 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3666, allocations: 13.23 kB / 0.5275 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3667, allocations: 14 kB / 0.5275 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3667, allocations: 6.625 kB / 0.5275 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3669, allocations: 239.1 kB / 0.5278 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3669, allocations: 0 / 0.5278 GB, free: 8.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.3675, allocations: 97.88 kB / 0.5279 GB, free: 8.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.3676, allocations: 112.4 kB / 0.528 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.3684, allocations: 449.4 kB / 0.5284 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3684, allocations: 4.062 kB / 0.5284 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3686, allocations: 118.7 kB / 0.5285 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.3691, allocations: 66.92 kB / 0.5286 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3708, allocations: 1.028 MB / 0.5296 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.3713, allocations: 0.8658 MB / 0.5304 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.3714, allocations: 35.88 kB / 0.5305 GB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3714, allocations: 0 / 0.5305 GB, free: 6.648 MB / 398.1 MB Notification: Performance of Templates: time 0.009091/0.3805, allocations: 5.669 MB / 0.536 GB, free: 4.379 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches