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.001783/0.001783, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002017/0.002017, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.549/1.549, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.1776/0.1776, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.003013/0.003013, allocations: 59.91 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3856, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006961/0.3926, allocations: 6.935 MB / 0.4888 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.3956, allocations: 1.664 MB / 0.4905 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.396, allocations: 39 kB / 0.4905 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.3966, allocations: 218.3 kB / 0.4907 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3977, allocations: 0.5936 MB / 0.4913 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3981, allocations: 213.2 kB / 0.4915 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.3992, allocations: 1.256 MB / 0.4927 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.3995, allocations: 218.5 kB / 0.4929 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.4003, allocations: 0.5761 MB / 0.4935 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007925/0.4011, allocations: 0.6504 MB / 0.4941 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.4012, allocations: 65.19 kB / 0.4942 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.4014, allocations: 64.12 kB / 0.4942 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.4016, allocations: 338.1 kB / 0.4946 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.4019, allocations: 355.8 kB / 0.4949 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008086/0.4028, allocations: 0.9333 MB / 0.4958 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4028, allocations: 0 / 0.4958 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4028, allocations: 3 kB / 0.4958 GB, free: 29.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.4028, allocations: 0 / 0.4958 GB, free: 29.61 MB / 446.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.001747/0.4045, allocations: 1.174 MB / 0.497 GB, free: 28.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4046, allocations: 12.8 kB / 0.497 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.4047, allocations: 97.48 kB / 0.4971 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.4058, allocations: 0.6437 MB / 0.4977 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.4058, allocations: 50.75 kB / 0.4977 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.4059, allocations: 65.33 kB / 0.4978 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/0.4069, allocations: 0.8673 MB / 0.4987 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4069, allocations: 0 / 0.4987 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.407, allocations: 21.94 kB / 0.4987 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.407, allocations: 38.06 kB / 0.4987 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.4078, allocations: 0.6734 MB / 0.4994 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.4103, allocations: 2.26 MB / 0.5016 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.4111, allocations: 0.6302 MB / 0.5022 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.4117, allocations: 391.2 kB / 0.5026 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.4117, allocations: 6.938 kB / 0.5026 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005458/0.4122, allocations: 0.5472 MB / 0.5031 GB, free: 25.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.144e-06/0.4122, allocations: 0 / 0.5031 GB, free: 25.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.002511/0.4147, allocations: 2.065 MB / 0.5051 GB, free: 24.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.4148, allocations: 251.7 kB / 0.5054 GB, free: 23.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.4154, allocations: 0.5554 MB / 0.5059 GB, free: 23.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.4154, allocations: 40.44 kB / 0.5059 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.4156, allocations: 410.9 kB / 0.5063 GB, free: 23.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.4157, allocations: 226 kB / 0.5066 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.4159, allocations: 146.1 kB / 0.5067 GB, free: 22.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.416, allocations: 378 kB / 0.5071 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.4163, allocations: 283 kB / 0.5073 GB, free: 22.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.4167, allocations: 0.4987 MB / 0.5078 GB, free: 22.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.4175, allocations: 0.7938 MB / 0.5086 GB, free: 21.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4175, allocations: 3.281 kB / 0.5086 GB, free: 21.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001335/0.4189, allocations: 1.004 MB / 0.5096 GB, free: 20.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.4189, allocations: 67.55 kB / 0.5096 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4189, allocations: 5.969 kB / 0.5096 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.4193, allocations: 115.8 kB / 0.5098 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.4198, allocations: 149.3 kB / 0.5099 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.4224, allocations: 3.298 MB / 0.5131 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.4229, allocations: 37.31 kB / 0.5132 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.423, allocations: 54.55 kB / 0.5132 GB, free: 17.8 MB / 446.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.000476/0.4235, allocations: 355.5 kB / 0.5135 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.4236, allocations: 81.22 kB / 0.5136 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.4254, allocations: 0.8459 MB / 0.5144 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4254, allocations: 9.234 kB / 0.5145 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.4254, allocations: 1.469 kB / 0.5145 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4254, allocations: 0 / 0.5145 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4274, allocations: 1.478 MB / 0.5159 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.4274, allocations: 1.125 kB / 0.5159 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.4279, allocations: 114.7 kB / 0.516 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.4279, allocations: 3.594 kB / 0.516 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.428, allocations: 20.25 kB / 0.516 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.428, allocations: 3.562 kB / 0.516 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.428, allocations: 1.812 kB / 0.516 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.4295, allocations: 1.338 MB / 0.5173 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.4297, allocations: 107.1 kB / 0.5174 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.4298, allocations: 16.09 kB / 0.5175 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.4301, allocations: 26.27 kB / 0.5175 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.4302, allocations: 51.84 kB / 0.5175 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/0.4303, allocations: 60 kB / 0.5176 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4306, allocations: 375.6 kB / 0.518 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4306, allocations: 0 / 0.518 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000728/0.4313, allocations: 177.3 kB / 0.5181 GB, free: 15.28 MB / 446.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.0001425/0.4315, allocations: 127.2 kB / 0.5182 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.4328, allocations: 1.087 MB / 0.5193 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4328, allocations: 0.5625 kB / 0.5193 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.4333, allocations: 0.4919 MB / 0.5198 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.4341, allocations: 162.6 kB / 0.5199 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4364, allocations: 1.609 MB / 0.5215 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.4368, allocations: 418.8 kB / 0.5219 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004142/0.4373, allocations: 152.3 kB / 0.5221 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.4374, allocations: 52.86 kB / 0.5221 GB, free: 13.07 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4374, allocations: 1.062 kB / 0.5221 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01662/0.454, allocations: 7.598 MB / 0.5295 GB, free: 12.12 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins1/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.528706459095702]