Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001485/0.001485, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001841/0.001841, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.391/1.391, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.1 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.1717/0.1717, allocations: 29.43 MB / 290.1 MB, free: 3.305 MB / 270.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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.705e-05, allocations: 9.234 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.00763/0.007657, allocations: 5.284 MB / 436 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.01051, allocations: 1.316 MB / 437.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.01089, allocations: 27.75 kB / 437.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.01142, allocations: 131 kB / 437.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.01264, allocations: 405.7 kB / 437.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.01308, allocations: 151.7 kB / 438 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.0142, allocations: 0.8057 MB / 438.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.01447, allocations: 130.2 kB / 439 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.01519, allocations: 474.5 kB / 439.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.01582, allocations: 379 kB / 439.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.391e-05/0.01589, allocations: 40 kB / 439.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.01599, allocations: 40 kB / 439.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.01622, allocations: 219.3 kB / 440.1 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.01647, allocations: 187.5 kB / 440.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.01718, allocations: 0.5762 MB / 440.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01718, allocations: 0 / 440.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01718, allocations: 0 / 440.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.01719, allocations: 0 / 440.8 MB, free: 7.777 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001454/0.01865, allocations: 0.8317 MB / 441.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01868, allocations: 8.031 kB / 441.7 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.01879, allocations: 68.56 kB / 441.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.01963, allocations: 460.2 kB / 442.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.01968, allocations: 29.38 kB / 442.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.01975, allocations: 40.38 kB / 442.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.02061, allocations: 0.5719 MB / 442.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.02063, allocations: 0 / 442.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.02067, allocations: 16 kB / 442.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.02072, allocations: 28.98 kB / 442.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/0.02137, allocations: 417.3 kB / 443.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.02368, allocations: 1.695 MB / 445 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.0243, allocations: 339 kB / 445.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.02463, allocations: 191.4 kB / 445.5 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.02466, allocations: 4 kB / 445.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.02508, allocations: 310 kB / 445.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.02508, allocations: 0 / 445.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001923/0.027, allocations: 1.195 MB / 447 MB, free: 1.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.02711, allocations: 166.2 kB / 447.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.02753, allocations: 401.8 kB / 447.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.02756, allocations: 33.7 kB / 447.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.02779, allocations: 304.2 kB / 447.9 MB, free: 356 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.02789, allocations: 123 kB / 448 MB, free: 232 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.02803, allocations: 94.12 kB / 448.1 MB, free: 132 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1625/0.1906, allocations: 354.8 kB / 448.5 MB, free: 30.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.1909, allocations: 148.3 kB / 448.6 MB, free: 30.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.1912, allocations: 309.7 kB / 448.9 MB, free: 30.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1917, allocations: 489.4 kB / 449.4 MB, free: 29.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1917, allocations: 1.469 kB / 449.4 MB, free: 29.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007884/0.1925, allocations: 0.5411 MB / 449.9 MB, free: 29.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.1925, allocations: 35.14 kB / 450 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1925, allocations: 5.625 kB / 450 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.1925, allocations: 11.56 kB / 450 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.193, allocations: 107.4 kB / 450.1 MB, free: 29.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.193, allocations: 18.53 kB / 450.1 MB, free: 29.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.1933, allocations: 24.81 kB / 450.1 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.1933, allocations: 31.34 kB / 450.1 MB, free: 29.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.1936, allocations: 251.5 kB / 450.4 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.1936, allocations: 49.23 kB / 450.4 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.1943, allocations: 490.1 kB / 450.9 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1943, allocations: 3.844 kB / 450.9 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1943, allocations: 8.344 kB / 450.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1943, allocations: 2.75 kB / 450.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1955, allocations: 0.8862 MB / 451.8 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1955, allocations: 1 kB / 451.8 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.1958, allocations: 60.45 kB / 451.9 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1958, allocations: 7.25 kB / 451.9 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1959, allocations: 14.91 kB / 451.9 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1959, allocations: 9.125 kB / 451.9 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1959, allocations: 1.156 kB / 451.9 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.1967, allocations: 0.7735 MB / 452.7 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1968, allocations: 65.38 kB / 452.7 MB, free: 28.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.1969, allocations: 14 kB / 452.8 MB, free: 28.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1971, allocations: 14.97 kB / 452.8 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.1972, allocations: 29.16 kB / 452.8 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.1972, allocations: 36.89 kB / 452.8 MB, free: 28.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.1975, allocations: 268.5 kB / 453.1 MB, free: 27.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1975, allocations: 0 / 453.1 MB, free: 27.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1979, allocations: 102.1 kB / 453.2 MB, free: 27.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (33): * Single equations (assignments): 31 * 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.0001117/0.198, allocations: 108 kB / 453.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005642/0.1986, allocations: 453.7 kB / 453.8 MB, free: 27.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1986, allocations: 0 / 453.8 MB, free: 27.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.1989, allocations: 259.3 kB / 454 MB, free: 27.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.1995, allocations: 108.9 kB / 454.1 MB, free: 27.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2008, allocations: 0.9746 MB / 455.1 MB, free: 26.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.201, allocations: 283.6 kB / 455.4 MB, free: 26.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.2013, allocations: 84.98 kB / 455.4 MB, free: 26.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.2014, allocations: 35.42 kB / 455.5 MB, free: 26.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2014, allocations: 1.375 kB / 455.5 MB, free: 26.82 MB / 366.1 MB Notification: Performance of Templates: time 0.009798/0.2112, allocations: 4.322 MB / 459.8 MB, free: 26.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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: 4.584926385432482]