Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001234/0.001234, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1766/0.1766, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3417, allocations: 58.05 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00539/0.3471, allocations: 4.708 MB / 0.5094 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3493, allocations: 1.341 MB / 0.5107 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.3496, allocations: 20.44 kB / 0.5107 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.3507, allocations: 404.4 kB / 0.5111 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000664/0.3514, allocations: 239.3 kB / 0.5113 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.352, allocations: 184.2 kB / 0.5115 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.3527, allocations: 0.5456 MB / 0.512 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.3532, allocations: 347.2 kB / 0.5123 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.3536, allocations: 256.6 kB / 0.5126 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.354, allocations: 280.9 kB / 0.5129 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.3541, allocations: 32 kB / 0.5129 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.3545, allocations: 127.7 kB / 0.513 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.3547, allocations: 183.4 kB / 0.5132 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3549, allocations: 226.8 kB / 0.5134 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.3556, allocations: 0.5256 MB / 0.5139 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3557, allocations: 1.719 kB / 0.5139 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3557, allocations: 0 / 0.5139 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3557, allocations: 4 kB / 0.5139 GB, free: 2.012 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001077/0.3568, allocations: 0.7187 MB / 0.5146 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3568, allocations: 10.67 kB / 0.5146 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007501/0.3576, allocations: 83.47 kB / 0.5147 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/0.3583, allocations: 421.7 kB / 0.5151 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3583, allocations: 26.66 kB / 0.5151 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.3585, allocations: 51.38 kB / 0.5152 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.3592, allocations: 486.9 kB / 0.5156 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3592, allocations: 1.125 kB / 0.5156 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.3593, allocations: 11.5 kB / 0.5157 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.3594, allocations: 28.97 kB / 0.5157 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.36, allocations: 347.9 kB / 0.516 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.3624, allocations: 1.614 MB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.3628, allocations: 171.6 kB / 0.5178 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.363, allocations: 119.4 kB / 0.5179 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3631, allocations: 6.844 kB / 0.5179 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3631, allocations: 45.03 kB / 0.5179 GB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.053e-06/0.3631, allocations: 0.5 kB / 0.5179 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001502/0.3646, allocations: 0.7735 MB / 0.5187 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3647, allocations: 84.48 kB / 0.5188 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.3651, allocations: 306.5 kB / 0.5191 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3651, allocations: 34.61 kB / 0.5191 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3653, allocations: 250.2 kB / 0.5193 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.3654, allocations: 68.41 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3655, allocations: 63.14 kB / 0.5194 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3656, allocations: 345.1 kB / 0.5198 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3658, allocations: 99.03 kB / 0.5199 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.366, allocations: 201.1 kB / 0.5201 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.3665, allocations: 335.3 kB / 0.5204 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3665, allocations: 1.156 kB / 0.5204 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000841/0.3673, allocations: 422 kB / 0.5208 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3674, allocations: 10.62 kB / 0.5208 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005016/0.3679, allocations: 264.7 kB / 0.521 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.3682, allocations: 84.16 kB / 0.5211 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3685, allocations: 69.31 kB / 0.5212 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3702, allocations: 1.714 MB / 0.5229 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3705, allocations: 16.56 kB / 0.5229 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3705, allocations: 10.66 kB / 0.5229 GB, free: 11.7 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 (34): * Single equations (assignments): 33 * 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.000282/0.3708, allocations: 192 kB / 0.5231 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.3709, allocations: 29.94 kB / 0.5231 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.3714, allocations: 265.1 kB / 0.5234 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3714, allocations: 2.281 kB / 0.5234 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3714, allocations: 1.125 kB / 0.5234 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3714, allocations: 2.047 kB / 0.5234 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3727, allocations: 0.7489 MB / 0.5241 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3727, allocations: 1.375 kB / 0.5241 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.373, allocations: 51.08 kB / 0.5241 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.373, allocations: 3.547 kB / 0.5242 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3731, allocations: 11.34 kB / 0.5242 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3731, allocations: 1.375 kB / 0.5242 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3731, allocations: 2.031 kB / 0.5242 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.3736, allocations: 453.7 kB / 0.5246 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3737, allocations: 111.9 kB / 0.5247 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.3738, allocations: 16.73 kB / 0.5247 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.374, allocations: 8.906 kB / 0.5247 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.374, allocations: 19.55 kB / 0.5247 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.374, allocations: 10.3 kB / 0.5248 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.3743, allocations: 216.2 kB / 0.525 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3743, allocations: 0 / 0.525 GB, free: 10.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.3748, allocations: 84.28 kB / 0.525 GB, free: 10.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0001309/0.3749, allocations: 101.2 kB / 0.5251 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007175/0.3756, allocations: 383.8 kB / 0.5255 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3756, allocations: 1.469 kB / 0.5255 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3758, allocations: 99.92 kB / 0.5256 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3763, allocations: 75.09 kB / 0.5257 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3779, allocations: 0.9575 MB / 0.5266 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.3784, allocations: 0.8486 MB / 0.5274 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.3785, allocations: 28.14 kB / 0.5275 GB, free: 8.695 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3785, allocations: 0 / 0.5275 GB, free: 8.695 MB / 398.1 MB Notification: Performance of Templates: time 0.009634/0.3881, allocations: 5.294 MB / 0.5326 GB, free: 6.945 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches