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/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.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.001769/0.001769, allocations: 110.4 kB / 17.07 MB, free: 5.996 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.001972/0.001972, allocations: 197.3 kB / 18 MB, free: 5.074 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1837/0.1837, allocations: 38.03 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 457.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 58.05 MB / 0.5036 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00713/0.3374, allocations: 6.533 MB / 0.51 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.3417, allocations: 2.43 MB / 0.5124 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005246/0.3423, allocations: 27.28 kB / 0.5124 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.344, allocations: 0.612 MB / 0.513 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3457, allocations: 0.6805 MB / 0.5137 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3469, allocations: 446.7 kB / 0.5141 GB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3486, allocations: 1.366 MB / 0.5154 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007994/0.3495, allocations: 483.6 kB / 0.5159 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3506, allocations: 0.5754 MB / 0.5165 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.352, allocations: 0.7807 MB / 0.5172 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.3522, allocations: 74.09 kB / 0.5173 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.3531, allocations: 278.5 kB / 0.5175 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006849/0.3538, allocations: 0.5205 MB / 0.5181 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.3544, allocations: 0.5279 MB / 0.5186 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.3562, allocations: 1.332 MB / 0.5199 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3562, allocations: 0.5625 kB / 0.5199 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3562, allocations: 0 / 0.5199 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.3563, allocations: 1.156 kB / 0.5199 GB, free: 14 MB / 398.1 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.00279/0.359, allocations: 1.353 MB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3591, allocations: 13.86 kB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.3593, allocations: 157.4 kB / 0.5214 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.3604, allocations: 201.7 kB / 0.5216 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3618, allocations: 0.7143 MB / 0.5223 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.3619, allocations: 64.98 kB / 0.5223 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.3621, allocations: 97.69 kB / 0.5224 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.3645, allocations: 1.395 MB / 0.5238 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.3646, allocations: 11.12 kB / 0.5238 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.3647, allocations: 34.39 kB / 0.5238 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002963/0.365, allocations: 120 kB / 0.5239 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.3669, allocations: 1.093 MB / 0.525 GB, free: 11.34 MB / 398.1 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.007942/0.3748, allocations: 5.948 MB / 0.5308 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3759, allocations: 0.6992 MB / 0.5315 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.3764, allocations: 326.3 kB / 0.5318 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.3765, allocations: 15.97 kB / 0.5318 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007016/0.3772, allocations: 476.5 kB / 0.5323 GB, free: 5.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.856e-06/0.3772, allocations: 0 / 0.5323 GB, free: 5.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003987/0.3812, allocations: 2.174 MB / 0.5344 GB, free: 4.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.3814, allocations: 168.3 kB / 0.5345 GB, free: 4.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.3823, allocations: 0.641 MB / 0.5352 GB, free: 3.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.3824, allocations: 37.92 kB / 0.5352 GB, free: 3.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.3829, allocations: 0.5491 MB / 0.5357 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3832, allocations: 239 kB / 0.536 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.3835, allocations: 205.1 kB / 0.5362 GB, free: 3.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.3837, allocations: 391.7 kB / 0.5365 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.3843, allocations: 342.1 kB / 0.5369 GB, free: 2.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3853, allocations: 0.7626 MB / 0.5376 GB, free: 1.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.387, allocations: 1.247 MB / 0.5388 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.387, allocations: 4.125 kB / 0.5388 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002933/0.3899, allocations: 1.44 MB / 0.5402 GB, free: 44 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.39, allocations: 48.5 kB / 0.5403 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00156/0.3916, allocations: 0.79 MB / 0.5411 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.3923, allocations: 247.3 kB / 0.5413 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/0.393, allocations: 217.7 kB / 0.5415 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/0.3981, allocations: 4.378 MB / 0.5458 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.399, allocations: 58.98 kB / 0.5458 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.3991, allocations: 64.34 kB / 0.5459 GB, free: 11.66 MB / 414.1 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.0006464/0.3997, allocations: 397.7 kB / 0.5463 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3999, allocations: 86.61 kB / 0.5464 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.4013, allocations: 0.8493 MB / 0.5472 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4013, allocations: 7.938 kB / 0.5472 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4014, allocations: 4 kB / 0.5472 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4014, allocations: 3.984 kB / 0.5472 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.4042, allocations: 1.764 MB / 0.5489 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.4043, allocations: 0 / 0.5489 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.405, allocations: 155.7 kB / 0.5491 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.405, allocations: 4 kB / 0.5491 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.4051, allocations: 23.98 kB / 0.5491 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.4051, allocations: 4 kB / 0.5491 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4051, allocations: 0 / 0.5491 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.407, allocations: 1.313 MB / 0.5504 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.4073, allocations: 212.5 kB / 0.5506 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.4074, allocations: 20 kB / 0.5506 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.4078, allocations: 31.97 kB / 0.5506 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4079, allocations: 48.38 kB / 0.5507 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.408, allocations: 35.97 kB / 0.5507 GB, free: 6.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005542/0.4086, allocations: 431 kB / 0.5511 GB, free: 6.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4086, allocations: 4 kB / 0.5511 GB, free: 6.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009982/0.4096, allocations: 224 kB / 0.5513 GB, free: 6.172 MB / 414.1 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.002265/0.4119, allocations: 1.875 MB / 0.5532 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.414, allocations: 1.237 MB / 0.5544 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.414, allocations: 0.5625 kB / 0.5544 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.4147, allocations: 474.3 kB / 0.5548 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.4155, allocations: 144.5 kB / 0.555 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.4281, allocations: 8.105 MB / 0.5629 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.429, allocations: 1.118 MB / 0.564 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007286/0.4298, allocations: 294.4 kB / 0.5643 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.4302, allocations: 331.3 kB / 0.5646 GB, free: 7.949 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4302, allocations: 4 kB / 0.5646 GB, free: 7.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/0.4793, allocations: 16.06 MB / 0.5803 GB, free: 8.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.51, allocations: 9.406 kB / 0.5803 GB, free: 8.078 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches