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.0008777/0.0008777, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001484/0.001484, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9586/0.9586, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2422/0.2422, allocations: 29.4 MB / 290.1 MB, free: 2.434 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.315e-05, allocations: 2.281 kB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005843/0.005866, allocations: 6.2 MB / 436.4 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.01005, allocations: 2.313 MB / 438.7 MB, free: 5.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.01069, allocations: 35.69 kB / 438.8 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.01341, allocations: 0.5948 MB / 439.4 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.01497, allocations: 0.6996 MB / 440.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009965/0.01597, allocations: 478.6 kB / 440.5 MB, free: 3.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.0173, allocations: 1.384 MB / 441.9 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/0.0179, allocations: 407.9 kB / 442.3 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009807/0.01889, allocations: 0.7634 MB / 443.1 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1963/0.2152, allocations: 0.786 MB / 443.9 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.2155, allocations: 77.41 kB / 443.9 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006246/0.2161, allocations: 295.7 kB / 444.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.2164, allocations: 0.5481 MB / 444.8 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.2167, allocations: 368.3 kB / 445.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009551/0.2177, allocations: 1.385 MB / 446.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2177, allocations: 0.5312 kB / 446.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2177, allocations: 0 / 446.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2177, allocations: 3.844 kB / 446.5 MB, free: 43.9 MB / 410.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.001285/0.219, allocations: 1.272 MB / 447.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.219, allocations: 17.03 kB / 447.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.2191, allocations: 150.9 kB / 448 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006704/0.2198, allocations: 275.2 kB / 448.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.2205, allocations: 0.6394 MB / 448.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.2205, allocations: 61.92 kB / 448.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.2207, allocations: 97.42 kB / 449 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.2218, allocations: 1.419 MB / 450.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.2218, allocations: 7.75 kB / 450.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.2219, allocations: 37.38 kB / 450.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.222, allocations: 118.5 kB / 450.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.2229, allocations: 1.119 MB / 451.7 MB, free: 42.51 MB / 410.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.003019/0.226, allocations: 5.448 MB / 457.2 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.2265, allocations: 0.6191 MB / 457.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.2268, allocations: 311.5 kB / 458.1 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2268, allocations: 16.91 kB / 458.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.2272, allocations: 0.5004 MB / 458.6 MB, free: 38.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 1.723e-06/0.2272, allocations: 0 / 458.6 MB, free: 38.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.00181/0.229, allocations: 2.179 MB / 460.8 MB, free: 37.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.229, allocations: 174.7 kB / 461 MB, free: 37.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.2294, allocations: 0.6594 MB / 461.6 MB, free: 37.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2294, allocations: 36.77 kB / 461.7 MB, free: 37.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2296, allocations: 0.5363 MB / 462.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.2296, allocations: 242 kB / 462.4 MB, free: 36.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.2298, allocations: 203.8 kB / 462.6 MB, free: 36.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.2298, allocations: 387.3 kB / 463 MB, free: 36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.2301, allocations: 366.7 kB / 463.4 MB, free: 35.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.2305, allocations: 0.7981 MB / 464.2 MB, free: 35.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.2313, allocations: 1.252 MB / 465.4 MB, free: 34.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2313, allocations: 3.156 kB / 465.4 MB, free: 34.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00125/0.2325, allocations: 1.464 MB / 466.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.2325, allocations: 44.3 kB / 466.9 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006996/0.2332, allocations: 0.7784 MB / 467.7 MB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.2336, allocations: 258.6 kB / 468 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.2339, allocations: 209.2 kB / 468.2 MB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.236, allocations: 4.143 MB / 472.3 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.2363, allocations: 59.53 kB / 472.4 MB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.2363, allocations: 61.5 kB / 472.4 MB, free: 30.33 MB / 410.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.0002613/0.2366, allocations: 400.5 kB / 472.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.2366, allocations: 84.22 kB / 472.9 MB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.2373, allocations: 0.8741 MB / 473.8 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2373, allocations: 15.39 kB / 473.8 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.2373, allocations: 4 kB / 473.8 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2373, allocations: 3.422 kB / 473.8 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.2386, allocations: 1.721 MB / 475.5 MB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2386, allocations: 0 / 475.5 MB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.2389, allocations: 160.8 kB / 475.7 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2389, allocations: 7.219 kB / 475.7 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.239, allocations: 17.66 kB / 475.7 MB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.239, allocations: 6.688 kB / 475.7 MB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.239, allocations: 0 / 475.7 MB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.2399, allocations: 1.371 MB / 477.1 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.24, allocations: 126.7 kB / 477.2 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.2401, allocations: 20.53 kB / 477.2 MB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2402, allocations: 29.75 kB / 477.2 MB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.2403, allocations: 47.47 kB / 477.3 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.2403, allocations: 45.67 kB / 477.3 MB, free: 28.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.2406, allocations: 431.4 kB / 477.8 MB, free: 27.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2406, allocations: 0 / 477.8 MB, free: 27.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.241, allocations: 231.9 kB / 478 MB, free: 27.85 MB / 410.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.001102/0.2421, allocations: 1.935 MB / 479.9 MB, free: 26.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.2431, allocations: 1.255 MB / 481.2 MB, free: 26.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2431, allocations: 0 / 481.2 MB, free: 26.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.2435, allocations: 450.2 kB / 481.6 MB, free: 25.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.244, allocations: 142.8 kB / 481.7 MB, free: 25.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/0.2508, allocations: 8.128 MB / 489.9 MB, free: 21.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2512, allocations: 0.5196 MB / 490.4 MB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.2516, allocations: 287.4 kB / 490.7 MB, free: 20.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.2519, allocations: 334 kB / 491 MB, free: 20.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2519, allocations: 0 / 491 MB, free: 20.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.2859, allocations: 17.22 MB / 0.4963 GB, free: 17.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.436, allocations: 11.92 kB / 0.4963 GB, free: 17.68 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins/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: 9.518494490534067]