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.001134/0.001134, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.00141/0.00141, allocations: 169.6 kB / 24.91 MB, free: 8.688 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.9996/0.9996, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2576/0.2576, allocations: 29.43 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.372e-05, allocations: 2.312 kB / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005725/0.005749, allocations: 5.887 MB / 322.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.008255, allocations: 1.76 MB / 324.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.008665, allocations: 43.62 kB / 324.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.009276, allocations: 202.5 kB / 324.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.01031, allocations: 0.6022 MB / 325.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.01073, allocations: 215.6 kB / 325.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01184, allocations: 1.3 MB / 326.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.01214, allocations: 221 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.01323, allocations: 0.8845 MB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.01371, allocations: 478.5 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.01378, allocations: 56 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.01387, allocations: 63.94 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.01413, allocations: 355 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.01436, allocations: 279.3 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006123/0.01497, allocations: 0.6226 MB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.01497, allocations: 4 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01497, allocations: 0 / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.01499, allocations: 7.984 kB / 329.8 MB, free: 2.992 MB / 298.7 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.001164/0.01615, allocations: 1.081 MB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.01619, allocations: 15.98 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.01632, allocations: 112.8 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.01696, allocations: 0.5634 MB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.017, allocations: 49.69 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.01707, allocations: 56.38 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.01764, allocations: 0.5971 MB / 332.3 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01765, allocations: 3.938 kB / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.01769, allocations: 24 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.01774, allocations: 37.3 kB / 332.3 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.01803, allocations: 276.3 kB / 332.6 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.01978, allocations: 1.777 MB / 334.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.0202, allocations: 413 kB / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.02045, allocations: 242.6 kB / 335 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.02048, allocations: 8.5 kB / 335 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/0.02084, allocations: 447.5 kB / 335.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 2.285e-06/0.02084, allocations: 0 / 335.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.0008612/0.0217, allocations: 0.8451 MB / 336.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.02182, allocations: 251.8 kB / 336.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.02214, allocations: 490.9 kB / 337 MB, free: 11.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.02217, allocations: 37.83 kB / 337.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.02234, allocations: 337.6 kB / 337.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.02246, allocations: 210.2 kB / 337.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02259, allocations: 146.5 kB / 337.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.02271, allocations: 386.6 kB / 338.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.02282, allocations: 140.2 kB / 338.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.02304, allocations: 368.3 kB / 338.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.02341, allocations: 0.5473 MB / 339.2 MB, free: 8.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02341, allocations: 3.938 kB / 339.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0006146/0.02403, allocations: 0.62 MB / 339.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.02407, allocations: 59.41 kB / 339.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.02408, allocations: 8 kB / 339.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.02432, allocations: 108 kB / 339.9 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.02457, allocations: 143.8 kB / 340.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.02647, allocations: 3.012 MB / 343.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.02667, allocations: 83.44 kB / 343.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.02673, allocations: 43.91 kB / 343.2 MB, free: 4.602 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 85 * 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.0001882/0.02691, allocations: 245.8 kB / 343.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.02697, allocations: 67.94 kB / 343.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.02733, allocations: 490.5 kB / 344 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.02734, allocations: 4 kB / 344 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.02734, allocations: 4 kB / 344 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.02734, allocations: 0 / 344 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.02826, allocations: 0.9432 MB / 345 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02826, allocations: 8.25 kB / 345 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.02848, allocations: 95.89 kB / 345.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.02849, allocations: 4 kB / 345.1 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.02851, allocations: 23.98 kB / 345.1 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02851, allocations: 0 / 345.1 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.02852, allocations: 7.938 kB / 345.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.02904, allocations: 0.7876 MB / 345.9 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.02914, allocations: 99.31 kB / 346 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.02919, allocations: 20.03 kB / 346 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.0293, allocations: 16 kB / 346 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.02936, allocations: 40.36 kB / 346.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.02941, allocations: 67.84 kB / 346.1 MB, free: 1.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.02955, allocations: 204.4 kB / 346.3 MB, free: 1.332 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02955, allocations: 0 / 346.3 MB, free: 1.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.02994, allocations: 207.7 kB / 346.5 MB, free: 1.129 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (54): * Single equations (assignments): 51 * 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.0001135/0.03005, allocations: 101.9 kB / 346.6 MB, free: 1.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.03071, allocations: 0.8687 MB / 347.5 MB, free: 76 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.03072, allocations: 8 kB / 347.5 MB, free: 68 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.03095, allocations: 375.1 kB / 347.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.03136, allocations: 160.4 kB / 348 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.03332, allocations: 1.396 MB / 349.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.03344, allocations: 203.4 kB / 349.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.03362, allocations: 89.69 kB / 349.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.03387, allocations: 209.3 kB / 349.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03387, allocations: 4 kB / 349.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Templates: time 0.01762/0.05149, allocations: 8.229 MB / 358.1 MB, free: 5.504 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3068709522485733]