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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.237/0.237, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003214/0.003214, allocations: 67.88 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3743, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008365/0.3827, allocations: 6.243 MB / 0.548 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.3877, allocations: 2.306 MB / 0.5503 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.3883, allocations: 34.75 kB / 0.5503 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.3902, allocations: 0.5898 MB / 0.5509 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3922, allocations: 0.694 MB / 0.5516 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3937, allocations: 461 kB / 0.552 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.3957, allocations: 1.359 MB / 0.5533 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007783/0.3965, allocations: 408.8 kB / 0.5537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.3978, allocations: 0.5992 MB / 0.5543 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.3995, allocations: 0.8323 MB / 0.5551 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.3997, allocations: 78.44 kB / 0.5552 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000905/0.4006, allocations: 294.6 kB / 0.5555 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.4013, allocations: 0.5259 MB / 0.556 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.4019, allocations: 449.8 kB / 0.5564 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.4044, allocations: 1.358 MB / 0.5578 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4044, allocations: 0 / 0.5578 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4045, allocations: 0 / 0.5578 GB, free: 4.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.4045, allocations: 0 / 0.5578 GB, free: 4.047 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.003074/0.4076, allocations: 1.281 MB / 0.559 GB, free: 2.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.4076, allocations: 11.98 kB / 0.559 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.4078, allocations: 152.3 kB / 0.5592 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.4094, allocations: 275.9 kB / 0.5594 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.411, allocations: 0.6418 MB / 0.5601 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/0.4111, allocations: 62.36 kB / 0.5601 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.4114, allocations: 99.92 kB / 0.5602 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.4138, allocations: 1.417 MB / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.4138, allocations: 7.938 kB / 0.5616 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.4139, allocations: 35.98 kB / 0.5616 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003054/0.4142, allocations: 117.9 kB / 0.5617 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.4161, allocations: 1.122 MB / 0.5628 GB, free: 14.64 MB / 414.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.007702/0.4239, allocations: 5.468 MB / 0.5682 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.425, allocations: 0.6161 MB / 0.5688 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.4255, allocations: 320.8 kB / 0.5691 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.4256, allocations: 8.5 kB / 0.5691 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/0.4264, allocations: 0.4946 MB / 0.5696 GB, free: 7.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.505e-06/0.4264, allocations: 0 / 0.5696 GB, free: 7.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.004076/0.4305, allocations: 2.169 MB / 0.5717 GB, free: 5.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.4306, allocations: 170.9 kB / 0.5719 GB, free: 4.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009012/0.4315, allocations: 0.6599 MB / 0.5725 GB, free: 4.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.4316, allocations: 37.7 kB / 0.5725 GB, free: 4.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000536/0.4321, allocations: 0.5463 MB / 0.5731 GB, free: 3.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.4323, allocations: 242 kB / 0.5733 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.4326, allocations: 206.8 kB / 0.5735 GB, free: 3.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4328, allocations: 390.7 kB / 0.5739 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.4334, allocations: 368.1 kB / 0.5742 GB, free: 2.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.4344, allocations: 0.7992 MB / 0.575 GB, free: 1.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.4362, allocations: 1.254 MB / 0.5762 GB, free: 48 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4362, allocations: 8 kB / 0.5762 GB, free: 40 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00287/0.4391, allocations: 1.462 MB / 0.5777 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.4392, allocations: 41.64 kB / 0.5777 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001569/0.4407, allocations: 0.78 MB / 0.5785 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.4415, allocations: 253.6 kB / 0.5787 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.4422, allocations: 211.6 kB / 0.5789 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.4475, allocations: 4.152 MB / 0.583 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/0.4483, allocations: 52.03 kB / 0.583 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4484, allocations: 63.98 kB / 0.5831 GB, free: 8.762 MB / 430.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.0006963/0.4491, allocations: 407.1 kB / 0.5835 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4493, allocations: 83.42 kB / 0.5835 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.4508, allocations: 0.8829 MB / 0.5844 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4508, allocations: 8 kB / 0.5844 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.4508, allocations: 4 kB / 0.5844 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.4509, allocations: 3.984 kB / 0.5844 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.4539, allocations: 1.707 MB / 0.5861 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.4539, allocations: 4 kB / 0.5861 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.4547, allocations: 151.8 kB / 0.5862 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.4547, allocations: 8.156 kB / 0.5862 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.4547, allocations: 20 kB / 0.5863 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.4547, allocations: 7.984 kB / 0.5863 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4547, allocations: 4 kB / 0.5863 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.4569, allocations: 1.381 MB / 0.5876 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.4573, allocations: 127.5 kB / 0.5877 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.4574, allocations: 16 kB / 0.5878 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4578, allocations: 31.97 kB / 0.5878 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4579, allocations: 48.36 kB / 0.5878 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.458, allocations: 43.95 kB / 0.5879 GB, free: 3.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.4587, allocations: 427 kB / 0.5883 GB, free: 3.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4587, allocations: 0 / 0.5883 GB, free: 3.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001003/0.4597, allocations: 235.9 kB / 0.5885 GB, free: 3.02 MB / 430.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.002478/0.4621, allocations: 1.93 MB / 0.5904 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.4644, allocations: 1.268 MB / 0.5916 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4644, allocations: 0 / 0.5916 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.465, allocations: 447.8 kB / 0.5921 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/0.4658, allocations: 145.5 kB / 0.5922 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.4787, allocations: 8.236 MB / 0.6002 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.4793, allocations: 0.5117 MB / 0.6007 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007322/0.4801, allocations: 286.3 kB / 0.601 GB, free: 5.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.4805, allocations: 339.3 kB / 0.6013 GB, free: 5.141 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4805, allocations: 0 / 0.6013 GB, free: 5.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07295/0.5535, allocations: 17.09 MB / 0.618 GB, free: 4.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.92, allocations: 8 kB / 0.618 GB, free: 4.277 MB / 462.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.949869718402624]