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.00147/0.00147, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001522/0.001522, allocations: 191 kB / 18 MB, free: 5.219 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.42/1.42, allocations: 222.9 MB / 241.7 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.1762/0.1762, allocations: 38.05 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 458.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4003, allocations: 58.05 MB / 0.5041 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.008156/0.4085, allocations: 4.699 MB / 0.5087 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.4118, allocations: 1.349 MB / 0.51 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.4121, allocations: 13 kB / 0.51 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.4136, allocations: 405.5 kB / 0.5104 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007489/0.4144, allocations: 247.3 kB / 0.5106 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.4151, allocations: 182.7 kB / 0.5108 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008488/0.416, allocations: 0.5464 MB / 0.5114 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007139/0.4167, allocations: 341.1 kB / 0.5117 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.4172, allocations: 256.5 kB / 0.5119 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.4178, allocations: 282.1 kB / 0.5122 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.144e-05/0.4179, allocations: 31.47 kB / 0.5122 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.4183, allocations: 127.2 kB / 0.5123 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.4186, allocations: 178.2 kB / 0.5125 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.4189, allocations: 233.9 kB / 0.5127 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.4198, allocations: 0.5204 MB / 0.5132 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4199, allocations: 0.7969 kB / 0.5132 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4199, allocations: 0 / 0.5132 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4199, allocations: 0 / 0.5132 GB, free: 2.07 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.001487/0.4214, allocations: 0.7206 MB / 0.5139 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4215, allocations: 17.52 kB / 0.514 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.4226, allocations: 87.45 kB / 0.514 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4236, allocations: 418.2 kB / 0.5144 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.4237, allocations: 27.69 kB / 0.5145 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.4239, allocations: 50.59 kB / 0.5145 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4251, allocations: 482.2 kB / 0.515 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.4252, allocations: 1.156 kB / 0.515 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.4252, allocations: 16.75 kB / 0.515 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.4254, allocations: 24.17 kB / 0.515 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.4264, allocations: 346.7 kB / 0.5154 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.4299, allocations: 1.624 MB / 0.5169 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.4305, allocations: 171.5 kB / 0.5171 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.4308, allocations: 115.8 kB / 0.5172 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4308, allocations: 6.266 kB / 0.5172 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4309, allocations: 41.23 kB / 0.5173 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.625e-06/0.4309, allocations: 0 / 0.5173 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001955/0.4329, allocations: 0.7802 MB / 0.518 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.4329, allocations: 83.75 kB / 0.5181 GB, free: 14.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.4333, allocations: 312.6 kB / 0.5184 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.4334, allocations: 25.7 kB / 0.5184 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.4336, allocations: 250.3 kB / 0.5187 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.4337, allocations: 75.28 kB / 0.5187 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.4338, allocations: 63.08 kB / 0.5188 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.434, allocations: 346 kB / 0.5191 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.4342, allocations: 99.05 kB / 0.5192 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.4344, allocations: 201.6 kB / 0.5194 GB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.4349, allocations: 334.1 kB / 0.5197 GB, free: 13.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4349, allocations: 1.031 kB / 0.5197 GB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009053/0.4359, allocations: 424.9 kB / 0.5201 GB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4359, allocations: 6.375 kB / 0.5201 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005403/0.4364, allocations: 266.7 kB / 0.5204 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.4368, allocations: 83.05 kB / 0.5205 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.437, allocations: 62.47 kB / 0.5205 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.4386, allocations: 1.71 MB / 0.5222 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.4388, allocations: 14.2 kB / 0.5222 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.4389, allocations: 16.2 kB / 0.5222 GB, free: 11.75 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.0002569/0.4391, allocations: 187.7 kB / 0.5224 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.4392, allocations: 34.3 kB / 0.5224 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.4397, allocations: 274.4 kB / 0.5227 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4397, allocations: 3.219 kB / 0.5227 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.4397, allocations: 0 / 0.5227 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4398, allocations: 3.234 kB / 0.5227 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.4411, allocations: 0.7493 MB / 0.5234 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4411, allocations: 0 / 0.5234 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.4414, allocations: 48.3 kB / 0.5235 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4414, allocations: 5.125 kB / 0.5235 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.4414, allocations: 17.19 kB / 0.5235 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4414, allocations: 2.547 kB / 0.5235 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4415, allocations: 0 / 0.5235 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.4421, allocations: 454.1 kB / 0.5239 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4422, allocations: 107.7 kB / 0.524 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4422, allocations: 13.38 kB / 0.5241 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4424, allocations: 8.016 kB / 0.5241 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4424, allocations: 16.02 kB / 0.5241 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4425, allocations: 6.203 kB / 0.5241 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.4427, allocations: 224.2 kB / 0.5243 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.4427, allocations: 0 / 0.5243 GB, free: 10.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005945/0.4433, allocations: 88.94 kB / 0.5244 GB, free: 10.42 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.0001317/0.4435, allocations: 99.78 kB / 0.5245 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.4442, allocations: 374.4 kB / 0.5248 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4442, allocations: 8.062 kB / 0.5248 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.4443, allocations: 99.89 kB / 0.5249 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.4449, allocations: 72.41 kB / 0.525 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4463, allocations: 0.9118 MB / 0.5259 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.4468, allocations: 0.8546 MB / 0.5267 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.447, allocations: 67.39 kB / 0.5268 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.4471, allocations: 26.22 kB / 0.5268 GB, free: 8.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4471, allocations: 1.156 kB / 0.5268 GB, free: 8.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01106/0.4582, allocations: 3.561 MB / 0.5303 GB, free: 8.008 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches