Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.001481/0.001481, allocations: 80.02 kB / 20.49 MB, free: 1.211 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.001724/0.001724, allocations: 165.1 kB / 23.75 MB, free: 4.234 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.485/1.485, allocations: 177.2 MB / 204.1 MB, free: 9.289 MB / 190.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.1742/0.1742, allocations: 29.43 MB / 289.9 MB, free: 3.414 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.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [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.002068/0.002068, allocations: 63.91 kB / 430.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 62.45 MB / 492.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.00922/0.3401, allocations: 6.899 MB / 499.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.3435, allocations: 1.659 MB / 0.4897 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.3439, allocations: 39.62 kB / 0.4897 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.3447, allocations: 222.5 kB / 0.4899 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.3461, allocations: 0.591 MB / 0.4905 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.3465, allocations: 215.7 kB / 0.4907 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3481, allocations: 1.254 MB / 0.492 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.3485, allocations: 223 kB / 0.4922 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.3498, allocations: 0.7552 MB / 0.4929 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3509, allocations: 0.6461 MB / 0.4935 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.351, allocations: 64 kB / 0.4936 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3512, allocations: 68 kB / 0.4937 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.3515, allocations: 335 kB / 0.494 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.352, allocations: 362.2 kB / 0.4943 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3531, allocations: 0.9297 MB / 0.4952 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3531, allocations: 0 / 0.4952 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3531, allocations: 0 / 0.4952 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3531, allocations: 0 / 0.4952 GB, free: 3.688 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002149/0.3552, allocations: 1.184 MB / 0.4964 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3553, allocations: 15.92 kB / 0.4964 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.3554, allocations: 96.33 kB / 0.4965 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.3568, allocations: 0.6356 MB / 0.4971 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.3568, allocations: 53.25 kB / 0.4972 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3569, allocations: 60 kB / 0.4972 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.3584, allocations: 0.8717 MB / 0.4981 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3584, allocations: 4 kB / 0.4981 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.3585, allocations: 23.98 kB / 0.4981 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/0.3586, allocations: 37.3 kB / 0.4981 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3597, allocations: 0.6759 MB / 0.4988 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.3635, allocations: 2.257 MB / 0.501 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3647, allocations: 0.6211 MB / 0.5016 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.3654, allocations: 394.5 kB / 0.502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.3654, allocations: 8.5 kB / 0.502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008208/0.3662, allocations: 0.5386 MB / 0.5025 GB, free: 11.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.635e-06/0.3663, allocations: 0 / 0.5025 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003625/0.3699, allocations: 2.056 MB / 0.5045 GB, free: 9.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/0.3701, allocations: 251.8 kB / 0.5048 GB, free: 9.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.3709, allocations: 0.5614 MB / 0.5053 GB, free: 8.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.371, allocations: 41.7 kB / 0.5054 GB, free: 8.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.3714, allocations: 408.5 kB / 0.5057 GB, free: 8.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.3716, allocations: 230 kB / 0.506 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.3719, allocations: 150.6 kB / 0.5061 GB, free: 8.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3721, allocations: 374.8 kB / 0.5065 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.3725, allocations: 285.3 kB / 0.5067 GB, free: 7.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.3732, allocations: 0.5012 MB / 0.5072 GB, free: 6.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3743, allocations: 0.7888 MB / 0.508 GB, free: 5.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3743, allocations: 4 kB / 0.508 GB, free: 5.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001827/0.3761, allocations: 1.005 MB / 0.509 GB, free: 4.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.3762, allocations: 63.41 kB / 0.509 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3762, allocations: 8 kB / 0.509 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.3766, allocations: 117.8 kB / 0.5092 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.3772, allocations: 147.7 kB / 0.5093 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.381, allocations: 3.295 MB / 0.5125 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.3816, allocations: 35.98 kB / 0.5126 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/0.3817, allocations: 59.94 kB / 0.5126 GB, free: 0.8828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005547/0.3822, allocations: 346.8 kB / 0.5129 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3823, allocations: 75.53 kB / 0.513 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.3839, allocations: 0.8614 MB / 0.5139 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3839, allocations: 4 kB / 0.5139 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3839, allocations: 4 kB / 0.5139 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3839, allocations: 3.984 kB / 0.5139 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.3864, allocations: 1.466 MB / 0.5153 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3864, allocations: 3.984 kB / 0.5153 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.3869, allocations: 108 kB / 0.5154 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.3869, allocations: 4 kB / 0.5154 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.387, allocations: 19.98 kB / 0.5154 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.387, allocations: 4 kB / 0.5154 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.387, allocations: 7.938 kB / 0.5154 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.389, allocations: 1.332 MB / 0.5167 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.3893, allocations: 115.4 kB / 0.5168 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.3895, allocations: 16 kB / 0.5169 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3899, allocations: 19.98 kB / 0.5169 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.39, allocations: 56.36 kB / 0.5169 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.3901, allocations: 59.92 kB / 0.517 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005874/0.3907, allocations: 374.8 kB / 0.5174 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 0.5174 GB, free: 11.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008404/0.3916, allocations: 176 kB / 0.5175 GB, free: 11.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.0001827/0.3917, allocations: 123.2 kB / 0.5176 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.3936, allocations: 1.096 MB / 0.5187 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3936, allocations: 0.5625 kB / 0.5187 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.3942, allocations: 496.8 kB / 0.5192 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.3951, allocations: 170.4 kB / 0.5193 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.398, allocations: 1.619 MB / 0.5209 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.3986, allocations: 421 kB / 0.5213 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004462/0.399, allocations: 145.7 kB / 0.5215 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3992, allocations: 60.42 kB / 0.5215 GB, free: 7.363 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3992, allocations: 0 / 0.5215 GB, free: 7.363 MB / 430.1 MB Notification: Performance of Templates: time 0.0165/0.4157, allocations: 7.589 MB / 0.5289 GB, free: 15.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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: 5.381012834608555]