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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 191.8 kB / 22.76 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1845/0.1845, allocations: 38.52 MB / 345 MB, free: 2.637 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002143/0.002143, allocations: 59.89 kB / 482.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3731, allocations: 61.24 MB / 0.5309 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007611/0.3807, allocations: 7.416 MB / 0.5382 GB, free: 372 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.384, allocations: 1.72 MB / 0.5399 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.3845, allocations: 28.62 kB / 0.5399 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.3853, allocations: 240.5 kB / 0.5401 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.3868, allocations: 0.574 MB / 0.5407 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.3874, allocations: 228.4 kB / 0.5409 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3899, allocations: 1.255 MB / 0.5421 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006314/0.3905, allocations: 279.8 kB / 0.5424 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.3918, allocations: 0.5531 MB / 0.5429 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.393, allocations: 0.6805 MB / 0.5436 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3931, allocations: 62.12 kB / 0.5437 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3933, allocations: 64.25 kB / 0.5437 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003583/0.3936, allocations: 336.3 kB / 0.544 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.3941, allocations: 438.9 kB / 0.5445 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.3953, allocations: 0.9352 MB / 0.5454 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3953, allocations: 0 / 0.5454 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3953, allocations: 0 / 0.5454 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3953, allocations: 1.219 kB / 0.5454 GB, free: 11.43 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.002271/0.3976, allocations: 1.239 MB / 0.5466 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3976, allocations: 14.11 kB / 0.5466 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.3978, allocations: 101.5 kB / 0.5467 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.3992, allocations: 0.7281 MB / 0.5474 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.3992, allocations: 46.91 kB / 0.5474 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3993, allocations: 62.62 kB / 0.5475 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4007, allocations: 0.8076 MB / 0.5483 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4007, allocations: 1.25 kB / 0.5483 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.4007, allocations: 23.19 kB / 0.5483 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/0.4008, allocations: 40.48 kB / 0.5484 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.4018, allocations: 0.6191 MB / 0.549 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.4056, allocations: 2.626 MB / 0.5515 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/0.4066, allocations: 0.5531 MB / 0.5521 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.4072, allocations: 339.4 kB / 0.5524 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4072, allocations: 5.281 kB / 0.5524 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006321/0.4079, allocations: 495 kB / 0.5529 GB, free: 5.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.954e-06/0.4079, allocations: 0 / 0.5529 GB, free: 5.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003191/0.4111, allocations: 2.002 MB / 0.5548 GB, free: 3.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.4112, allocations: 255.8 kB / 0.5551 GB, free: 3.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.4119, allocations: 0.5625 MB / 0.5556 GB, free: 3.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.412, allocations: 41.83 kB / 0.5557 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.4123, allocations: 408.4 kB / 0.556 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.4125, allocations: 222.2 kB / 0.5563 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.4128, allocations: 142.6 kB / 0.5564 GB, free: 2.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.413, allocations: 386.8 kB / 0.5568 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.4134, allocations: 221.9 kB / 0.557 GB, free: 1.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.4139, allocations: 461.8 kB / 0.5574 GB, free: 1.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/0.4149, allocations: 0.7934 MB / 0.5582 GB, free: 176 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4149, allocations: 0 / 0.5582 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001665/0.4166, allocations: 0.9487 MB / 0.5591 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.4166, allocations: 63.41 kB / 0.5592 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4166, allocations: 12 kB / 0.5592 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.4171, allocations: 109.7 kB / 0.5593 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4176, allocations: 151.7 kB / 0.5594 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.4212, allocations: 3.567 MB / 0.5629 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.4218, allocations: 40.03 kB / 0.563 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.4219, allocations: 47.97 kB / 0.563 GB, free: 10.91 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.0005571/0.4224, allocations: 365.7 kB / 0.5634 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4225, allocations: 75.53 kB / 0.5634 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.4238, allocations: 0.7897 MB / 0.5642 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.4238, allocations: 8 kB / 0.5642 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.4238, allocations: 0 / 0.5642 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4238, allocations: 7.922 kB / 0.5642 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.4263, allocations: 1.557 MB / 0.5657 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4263, allocations: 4.094 kB / 0.5657 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.4268, allocations: 111.8 kB / 0.5658 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.4269, allocations: 7.938 kB / 0.5659 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.4269, allocations: 23.98 kB / 0.5659 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.4269, allocations: 4 kB / 0.5659 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4269, allocations: 0 / 0.5659 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.4287, allocations: 1.207 MB / 0.5671 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.429, allocations: 184.6 kB / 0.5672 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.4291, allocations: 23.92 kB / 0.5673 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.4294, allocations: 27.97 kB / 0.5673 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4295, allocations: 40.45 kB / 0.5673 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/0.4296, allocations: 63.92 kB / 0.5674 GB, free: 6.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005102/0.4301, allocations: 395 kB / 0.5678 GB, free: 5.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4301, allocations: 0 / 0.5678 GB, free: 5.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008202/0.4309, allocations: 176 kB / 0.5679 GB, free: 5.699 MB / 414.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.0001726/0.4311, allocations: 120.1 kB / 0.568 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.4328, allocations: 0.977 MB / 0.569 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4328, allocations: 8 kB / 0.569 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.4333, allocations: 429.2 kB / 0.5694 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.4342, allocations: 161.2 kB / 0.5696 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4372, allocations: 1.627 MB / 0.5712 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.4379, allocations: 1.016 MB / 0.5721 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.4381, allocations: 63.42 kB / 0.5722 GB, free: 1.164 MB / 414.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4381, allocations: 0 / 0.5722 GB, free: 1.164 MB / 414.1 MB Notification: Performance of Templates: time 0.01952/0.4576, allocations: 12.13 MB / 0.584 GB, free: 5.059 MB / 430.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/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