Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,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.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 107.9 kB / 17.74 MB, free: 5.363 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.00153/0.00153, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1983/0.1983, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.89 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3787, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005637/0.3844, allocations: 4.499 MB / 0.5092 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3868, allocations: 1.511 MB / 0.5106 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.387, allocations: 16.31 kB / 0.5106 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.3879, allocations: 289.6 kB / 0.5109 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.3885, allocations: 262.2 kB / 0.5112 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.3892, allocations: 263.4 kB / 0.5114 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.39, allocations: 0.6343 MB / 0.512 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.3904, allocations: 290 kB / 0.5123 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.3908, allocations: 292.6 kB / 0.5126 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.3914, allocations: 387 kB / 0.513 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.3915, allocations: 45.41 kB / 0.513 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.3919, allocations: 153.6 kB / 0.5132 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.3922, allocations: 245.2 kB / 0.5134 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.3925, allocations: 276 kB / 0.5137 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008145/0.3933, allocations: 0.6543 MB / 0.5143 GB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3933, allocations: 0 / 0.5143 GB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3933, allocations: 0 / 0.5143 GB, free: 1.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3933, allocations: 1 kB / 0.5143 GB, free: 1.957 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.001803/0.3951, allocations: 0.8899 MB / 0.5152 GB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3952, allocations: 13.45 kB / 0.5152 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/0.3958, allocations: 92.81 kB / 0.5153 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.3967, allocations: 0.4913 MB / 0.5157 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.3968, allocations: 28.66 kB / 0.5158 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.3969, allocations: 57.97 kB / 0.5158 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.398, allocations: 0.68 MB / 0.5165 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.398, allocations: 1.75 kB / 0.5165 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.3981, allocations: 24.94 kB / 0.5165 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.3982, allocations: 37.77 kB / 0.5165 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.3992, allocations: 0.529 MB / 0.5171 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.4031, allocations: 3.096 MB / 0.5201 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.4037, allocations: 322.8 kB / 0.5204 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.404, allocations: 179 kB / 0.5206 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.404, allocations: 12.2 kB / 0.5206 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4041, allocations: 40.62 kB / 0.5206 GB, free: 13.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.155e-06/0.4041, allocations: 0 / 0.5206 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002227/0.4063, allocations: 1.209 MB / 0.5218 GB, free: 13.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.4064, allocations: 84.44 kB / 0.5219 GB, free: 13.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.4069, allocations: 395.8 kB / 0.5223 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.407, allocations: 35.48 kB / 0.5223 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.4072, allocations: 299.4 kB / 0.5226 GB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4073, allocations: 120.9 kB / 0.5227 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4075, allocations: 98.66 kB / 0.5228 GB, free: 12.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4077, allocations: 355.5 kB / 0.5231 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.408, allocations: 191.9 kB / 0.5233 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.4084, allocations: 385.1 kB / 0.5237 GB, free: 11.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.4092, allocations: 0.5977 MB / 0.5243 GB, free: 11.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4092, allocations: 2.125 kB / 0.5243 GB, free: 11.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001997/0.4112, allocations: 0.8295 MB / 0.5251 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.4113, allocations: 8.562 kB / 0.5251 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4113, allocations: 6.531 kB / 0.5251 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.4126, allocations: 277.4 kB / 0.5253 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.4132, allocations: 137.9 kB / 0.5255 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.4184, allocations: 4.042 MB / 0.5294 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.4189, allocations: 27.59 kB / 0.5295 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.419, allocations: 26.22 kB / 0.5295 GB, free: 7.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.4194, allocations: 222.7 kB / 0.5297 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.4195, allocations: 41.62 kB / 0.5297 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008571/0.4203, allocations: 483.7 kB / 0.5302 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4203, allocations: 5.375 kB / 0.5302 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4204, allocations: 3.938 kB / 0.5302 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4204, allocations: 2.859 kB / 0.5302 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.4219, allocations: 1.016 MB / 0.5312 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.422, allocations: 5.125 kB / 0.5312 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4224, allocations: 91.72 kB / 0.5313 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4224, allocations: 2.594 kB / 0.5313 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.4225, allocations: 10.53 kB / 0.5313 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4225, allocations: 2.281 kB / 0.5313 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4225, allocations: 1.875 kB / 0.5313 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.4235, allocations: 0.75 MB / 0.532 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4237, allocations: 114.5 kB / 0.5321 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.4237, allocations: 14.25 kB / 0.5322 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.424, allocations: 17.69 kB / 0.5322 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.4241, allocations: 23.14 kB / 0.5322 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.4241, allocations: 8.906 kB / 0.5322 GB, free: 6.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.4244, allocations: 273.5 kB / 0.5325 GB, free: 6.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4245, allocations: 3.938 kB / 0.5325 GB, free: 6.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006303/0.4251, allocations: 122.3 kB / 0.5326 GB, free: 6.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.000144/0.4252, allocations: 109.7 kB / 0.5327 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.4268, allocations: 0.7977 MB / 0.5335 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4269, allocations: 1.156 kB / 0.5335 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.4272, allocations: 203 kB / 0.5337 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.4278, allocations: 92.25 kB / 0.5338 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.4312, allocations: 1.525 MB / 0.5352 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.4317, allocations: 0.891 MB / 0.5361 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.4319, allocations: 44.48 kB / 0.5362 GB, free: 3.605 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4319, allocations: 0 / 0.5362 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Templates: time 0.01444/0.4464, allocations: 7.921 MB / 0.5439 GB, free: 15.43 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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] Variables in the result: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],time