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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 108 kB / 17.06 MB, free: 5.82 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.001423/0.001423, allocations: 195.9 kB / 18 MB, free: 4.965 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.446/1.446, 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.1828/0.1828, allocations: 38.04 MB / 329.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 457.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 58.07 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005661/0.3535, allocations: 4.687 MB / 0.5082 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3555, allocations: 1.35 MB / 0.5095 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.3557, allocations: 12.16 kB / 0.5095 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3568, allocations: 406.7 kB / 0.5099 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.3573, allocations: 242.1 kB / 0.5102 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.3578, allocations: 184.7 kB / 0.5103 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00057/0.3584, allocations: 0.5532 MB / 0.5109 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.3589, allocations: 341.6 kB / 0.5112 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.3592, allocations: 252.2 kB / 0.5114 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.3597, allocations: 272.1 kB / 0.5117 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.3597, allocations: 35.38 kB / 0.5117 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.36, allocations: 128.8 kB / 0.5119 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3602, allocations: 185 kB / 0.512 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3605, allocations: 227 kB / 0.5123 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.3611, allocations: 0.527 MB / 0.5128 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3611, allocations: 5.438 kB / 0.5128 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3611, allocations: 0 / 0.5128 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.3612, allocations: 0 / 0.5128 GB, free: 1.75 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.001005/0.3622, allocations: 0.728 MB / 0.5135 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3622, allocations: 16.64 kB / 0.5135 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.3623, allocations: 74.22 kB / 0.5136 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/0.363, allocations: 91.72 kB / 0.5137 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.3636, allocations: 422.2 kB / 0.5141 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3636, allocations: 32.86 kB / 0.5141 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3638, allocations: 45.47 kB / 0.5141 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.3645, allocations: 478.2 kB / 0.5146 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3645, allocations: 2.141 kB / 0.5146 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.3646, allocations: 19.77 kB / 0.5146 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.3647, allocations: 24.02 kB / 0.5146 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.3653, allocations: 347.8 kB / 0.515 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.3678, allocations: 1.631 MB / 0.5166 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.3683, allocations: 175 kB / 0.5167 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.3685, allocations: 112.4 kB / 0.5168 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3686, allocations: 2.062 kB / 0.5168 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3686, allocations: 41.28 kB / 0.5169 GB, free: 15.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.3686, allocations: 0 / 0.5169 GB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001632/0.3703, allocations: 0.7874 MB / 0.5176 GB, free: 14.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.3703, allocations: 83.45 kB / 0.5177 GB, free: 14.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.3707, allocations: 311.8 kB / 0.518 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3707, allocations: 27.14 kB / 0.518 GB, free: 14.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.3709, allocations: 257.9 kB / 0.5183 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.371, allocations: 79.83 kB / 0.5184 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3711, allocations: 63.62 kB / 0.5184 GB, free: 13.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3713, allocations: 340.7 kB / 0.5188 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.3715, allocations: 100.4 kB / 0.5188 GB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.3717, allocations: 200.3 kB / 0.519 GB, free: 13.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.3722, allocations: 333.9 kB / 0.5194 GB, free: 13.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3722, allocations: 1.797 kB / 0.5194 GB, free: 13.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009306/0.3732, allocations: 429.2 kB / 0.5198 GB, free: 12.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3732, allocations: 6.359 kB / 0.5198 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006004/0.3738, allocations: 266.9 kB / 0.52 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.3742, allocations: 80.7 kB / 0.5201 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.3745, allocations: 61.06 kB / 0.5202 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.3765, allocations: 1.713 MB / 0.5218 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.3768, allocations: 13.17 kB / 0.5219 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3768, allocations: 18.11 kB / 0.5219 GB, free: 11.33 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.0002885/0.3771, allocations: 184.4 kB / 0.522 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.3772, allocations: 42.02 kB / 0.5221 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.3777, allocations: 263.7 kB / 0.5223 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3777, allocations: 3.125 kB / 0.5223 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3777, allocations: 0.9062 kB / 0.5223 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3777, allocations: 1.375 kB / 0.5223 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3791, allocations: 0.7578 MB / 0.5231 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3791, allocations: 1.375 kB / 0.5231 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3794, allocations: 55.42 kB / 0.5231 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3794, allocations: 2.75 kB / 0.5231 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.3794, allocations: 12 kB / 0.5231 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3794, allocations: 1.375 kB / 0.5232 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3794, allocations: 5.312 kB / 0.5232 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.38, allocations: 455.9 kB / 0.5236 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.3801, allocations: 112.2 kB / 0.5237 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.3801, allocations: 8.109 kB / 0.5237 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3803, allocations: 8.031 kB / 0.5237 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3803, allocations: 12.67 kB / 0.5237 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3804, allocations: 5.312 kB / 0.5237 GB, free: 10.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.3806, allocations: 225.1 kB / 0.5239 GB, free: 10.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3806, allocations: 7.875 kB / 0.524 GB, free: 10 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.3811, allocations: 85 kB / 0.524 GB, free: 9.996 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.00102/0.3821, allocations: 0.9908 MB / 0.525 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.3829, allocations: 370.5 kB / 0.5254 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3829, allocations: 0 / 0.5254 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.383, allocations: 101.3 kB / 0.5255 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.3836, allocations: 70.67 kB / 0.5255 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.3883, allocations: 3.55 MB / 0.529 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.3888, allocations: 0.8523 MB / 0.5298 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.3891, allocations: 70.72 kB / 0.5299 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3893, allocations: 139.4 kB / 0.53 GB, free: 5.746 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3893, allocations: 0 / 0.53 GB, free: 5.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.098/0.4873, allocations: 7.21 MB / 0.5371 GB, free: 3.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.1, allocations: 9.672 kB / 0.5371 GB, free: 3 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > 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