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.001808/0.001808, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002469/0.002469, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.1871/0.1871, allocations: 38.54 MB / 353.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="cs",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.00208/0.00208, allocations: 79.83 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 62.46 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009671/0.3418, allocations: 6.234 MB / 0.5488 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005894/0.3477, allocations: 2.298 MB / 0.551 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.3485, allocations: 37.94 kB / 0.5511 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.3507, allocations: 0.5966 MB / 0.5517 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.3532, allocations: 0.6949 MB / 0.5523 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3546, allocations: 459.3 kB / 0.5528 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.3568, allocations: 1.36 MB / 0.5541 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.3576, allocations: 416.1 kB / 0.5545 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.3591, allocations: 0.5917 MB / 0.5551 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.3607, allocations: 0.8602 MB / 0.5559 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.3608, allocations: 75.5 kB / 0.556 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.3616, allocations: 298.5 kB / 0.5563 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.3622, allocations: 0.5298 MB / 0.5568 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.3628, allocations: 441.9 kB / 0.5572 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.3646, allocations: 1.358 MB / 0.5585 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3646, allocations: 0 / 0.5585 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3646, allocations: 0 / 0.5585 GB, free: 4.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.3646, allocations: 3.938 kB / 0.5585 GB, free: 4.016 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.002578/0.3672, allocations: 1.285 MB / 0.5598 GB, free: 2.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3672, allocations: 11.98 kB / 0.5598 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.322e-05/0.3673, allocations: 22.19 kB / 0.5598 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.3675, allocations: 152.3 kB / 0.56 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3689, allocations: 275.9 kB / 0.5602 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.3702, allocations: 0.6418 MB / 0.5609 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.3703, allocations: 70.11 kB / 0.5609 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.3705, allocations: 87.97 kB / 0.561 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.3728, allocations: 1.417 MB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.3728, allocations: 7.922 kB / 0.5624 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.995e-05/0.3729, allocations: 39.98 kB / 0.5624 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003068/0.3732, allocations: 113.9 kB / 0.5626 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.3751, allocations: 1.122 MB / 0.5636 GB, free: 14.59 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.00722/0.3824, allocations: 5.472 MB / 0.569 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3835, allocations: 0.6161 MB / 0.5696 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.384, allocations: 320.8 kB / 0.5699 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.384, allocations: 8.5 kB / 0.5699 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007691/0.3848, allocations: 0.4985 MB / 0.5704 GB, free: 7.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.615e-06/0.3848, allocations: 0 / 0.5704 GB, free: 7.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00378/0.3886, allocations: 2.165 MB / 0.5725 GB, free: 5.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.3887, allocations: 170.9 kB / 0.5727 GB, free: 4.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/0.3895, allocations: 0.6367 MB / 0.5733 GB, free: 4.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.3896, allocations: 45.62 kB / 0.5733 GB, free: 4.238 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/0.39, allocations: 0.5424 MB / 0.5739 GB, free: 3.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.3903, allocations: 246 kB / 0.5741 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.3906, allocations: 198.8 kB / 0.5743 GB, free: 3.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3908, allocations: 394.7 kB / 0.5747 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.3914, allocations: 368 kB / 0.575 GB, free: 2.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/0.3924, allocations: 0.7994 MB / 0.5758 GB, free: 1.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.394, allocations: 1.246 MB / 0.577 GB, free: 16 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.394, allocations: 4 kB / 0.577 GB, free: 12 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002777/0.3968, allocations: 1.474 MB / 0.5785 GB, free: 14.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.3969, allocations: 45.69 kB / 0.5785 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001556/0.3984, allocations: 0.776 MB / 0.5793 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.3992, allocations: 253.9 kB / 0.5795 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.4, allocations: 211.6 kB / 0.5797 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.405, allocations: 4.148 MB / 0.5838 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.4057, allocations: 56.03 kB / 0.5838 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4058, allocations: 63.97 kB / 0.5839 GB, free: 8.723 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.0005952/0.4064, allocations: 400.6 kB / 0.5843 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4065, allocations: 83.47 kB / 0.5843 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.4081, allocations: 0.8829 MB / 0.5852 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.4081, allocations: 12 kB / 0.5852 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4081, allocations: 0 / 0.5852 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4081, allocations: 3.984 kB / 0.5852 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.411, allocations: 1.719 MB / 0.5869 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.411, allocations: 4 kB / 0.5869 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.4118, allocations: 151.9 kB / 0.587 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.4118, allocations: 4 kB / 0.587 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.4119, allocations: 19.98 kB / 0.5871 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4119, allocations: 4 kB / 0.5871 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4119, allocations: 7.938 kB / 0.5871 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.4139, allocations: 1.374 MB / 0.5884 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.4142, allocations: 127.5 kB / 0.5885 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.4143, allocations: 16 kB / 0.5885 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.4147, allocations: 35.91 kB / 0.5886 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4148, allocations: 52.36 kB / 0.5886 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.4149, allocations: 43.89 kB / 0.5887 GB, free: 3.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005564/0.4154, allocations: 427 kB / 0.5891 GB, free: 3.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4154, allocations: 0 / 0.5891 GB, free: 3.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009849/0.4164, allocations: 232 kB / 0.5893 GB, free: 2.988 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.002409/0.4188, allocations: 1.938 MB / 0.5912 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.4211, allocations: 1.264 MB / 0.5924 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4211, allocations: 0 / 0.5924 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006591/0.4218, allocations: 449.5 kB / 0.5929 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.4226, allocations: 144.1 kB / 0.593 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.4367, allocations: 8.235 MB / 0.601 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.4373, allocations: 0.5155 MB / 0.6015 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007446/0.4381, allocations: 294.4 kB / 0.6018 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.4386, allocations: 331.3 kB / 0.6021 GB, free: 5.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4386, allocations: 0 / 0.6021 GB, free: 5.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.492, allocations: 17.13 MB / 0.6189 GB, free: 4.215 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.65, allocations: 7.172 kB / 0.6189 GB, free: 4.211 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.917731037014164]