Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 96.8 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1723/0.1723, allocations: 38.01 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3621, allocations: 55.23 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00898/0.3711, allocations: 7.575 MB / 484.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.3766, allocations: 2.835 MB / 487.5 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.378, allocations: 41.88 kB / 487.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.3798, allocations: 0.5704 MB / 488.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.3817, allocations: 0.6418 MB / 488.8 MB, free: 1.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.3831, allocations: 402 kB / 489.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003255/0.3864, allocations: 2.297 MB / 491.4 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009502/0.3874, allocations: 462 kB / 491.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3884, allocations: 0.4946 MB / 492.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.3899, allocations: 0.8428 MB / 493.2 MB, free: 388 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.3901, allocations: 50.47 kB / 493.3 MB, free: 384 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.3908, allocations: 278.5 kB / 493.6 MB, free: 304 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006706/0.3915, allocations: 0.5005 MB / 494.1 MB, free: 160 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.3922, allocations: 0.4885 MB / 494.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.3941, allocations: 1.29 MB / 495.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3941, allocations: 0 / 495.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3941, allocations: 1.25 kB / 495.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.3941, allocations: 0 / 495.8 MB, free: 15.3 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002826/0.397, allocations: 1.322 MB / 497.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.397, allocations: 10.03 kB / 497.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.3981, allocations: 197.9 kB / 497.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.3995, allocations: 0.675 MB / 498 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.3996, allocations: 68.27 kB / 498.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3998, allocations: 95.59 kB / 498.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.4022, allocations: 1.389 MB / 499.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4022, allocations: 7.344 kB / 499.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.4023, allocations: 34.64 kB / 499.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/0.4027, allocations: 123.1 kB / 499.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.4047, allocations: 1.095 MB / 0.4891 GB, free: 12.09 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/0.4131, allocations: 5.966 MB / 0.4949 GB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4145, allocations: 0.7064 MB / 0.4956 GB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.415, allocations: 324.5 kB / 0.4959 GB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.4151, allocations: 19.52 kB / 0.4959 GB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000777/0.4159, allocations: 475.6 kB / 0.4964 GB, free: 6.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 4.288e-06/0.4159, allocations: 0 / 0.4964 GB, free: 6.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.00433/0.4202, allocations: 2.148 MB / 0.4985 GB, free: 4.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.4204, allocations: 175.6 kB / 0.4987 GB, free: 4.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/0.4213, allocations: 0.6345 MB / 0.4993 GB, free: 4.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.4214, allocations: 37.7 kB / 0.4993 GB, free: 4.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/0.4218, allocations: 0.5288 MB / 0.4998 GB, free: 3.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.422, allocations: 228.8 kB / 0.5001 GB, free: 3.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.4223, allocations: 206.7 kB / 0.5003 GB, free: 3.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.4226, allocations: 390.7 kB / 0.5006 GB, free: 2.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.4231, allocations: 342.4 kB / 0.501 GB, free: 2.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.424, allocations: 0.7698 MB / 0.5017 GB, free: 1.363 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.4254, allocations: 1.244 MB / 0.5029 GB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4254, allocations: 4 kB / 0.5029 GB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002437/0.4278, allocations: 1.434 MB / 0.5043 GB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.4279, allocations: 45.62 kB / 0.5044 GB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001363/0.4293, allocations: 0.7906 MB / 0.5051 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007314/0.43, allocations: 249.1 kB / 0.5054 GB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.4307, allocations: 223.6 kB / 0.5056 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/0.4356, allocations: 4.037 MB / 0.5095 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.4366, allocations: 55.91 kB / 0.5096 GB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4367, allocations: 63.97 kB / 0.5096 GB, free: 8.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008672/0.4376, allocations: 403 kB / 0.51 GB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4377, allocations: 75.06 kB / 0.5101 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.4392, allocations: 0.84 MB / 0.5109 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4392, allocations: 8 kB / 0.5109 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4392, allocations: 0 / 0.5109 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4392, allocations: 7.922 kB / 0.5109 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.442, allocations: 1.775 MB / 0.5127 GB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.442, allocations: 3.938 kB / 0.5127 GB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.4427, allocations: 152 kB / 0.5128 GB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4427, allocations: 4 kB / 0.5128 GB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.4427, allocations: 19.98 kB / 0.5128 GB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4428, allocations: 4 kB / 0.5128 GB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4428, allocations: 7.938 kB / 0.5129 GB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009029/0.4518, allocations: 5.84 MB / 0.5186 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.4522, allocations: 204.1 kB / 0.5188 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4524, allocations: 16 kB / 0.5188 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.4528, allocations: 27.97 kB / 0.5188 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.4529, allocations: 44.45 kB / 0.5188 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.453, allocations: 51.89 kB / 0.5189 GB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005574/0.4536, allocations: 423 kB / 0.5193 GB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4536, allocations: 0 / 0.5193 GB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001372/0.455, allocations: 308 kB / 0.5196 GB, free: 14.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002106/0.4552, allocations: 122.2 kB / 0.5197 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.4574, allocations: 1.24 MB / 0.5209 GB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4574, allocations: 0 / 0.5209 GB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.458, allocations: 460 kB / 0.5213 GB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.4589, allocations: 139.8 kB / 0.5215 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.4639, allocations: 2.865 MB / 0.5243 GB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4651, allocations: 1.131 MB / 0.5254 GB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009605/0.4661, allocations: 306.4 kB / 0.5257 GB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.4664, allocations: 63.42 kB / 0.5257 GB, free: 7.754 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/0.4664, allocations: 0 / 0.5257 GB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.02256/0.489, allocations: 10.21 MB / 0.5357 GB, free: 13.55 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches