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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1773/0.1773, allocations: 38.52 MB / 344.5 MB, free: 2.609 MB / 270.1 MB " [Timeout remaining time 180] 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.002059/0.002059, allocations: 71.88 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 61.23 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007117/0.335, allocations: 7.472 MB / 0.5379 GB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.338, allocations: 1.728 MB / 0.5395 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.3385, allocations: 28.22 kB / 0.5396 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.3391, allocations: 232.2 kB / 0.5398 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.3404, allocations: 0.586 MB / 0.5404 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.3409, allocations: 215.4 kB / 0.5406 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3422, allocations: 1.264 MB / 0.5418 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.3425, allocations: 220.3 kB / 0.542 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.3432, allocations: 0.5576 MB / 0.5426 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009225/0.3442, allocations: 0.6796 MB / 0.5432 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.3443, allocations: 66.75 kB / 0.5433 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3444, allocations: 64.28 kB / 0.5434 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.3447, allocations: 340.2 kB / 0.5437 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.3452, allocations: 431.3 kB / 0.5441 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3462, allocations: 0.9338 MB / 0.545 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3462, allocations: 0 / 0.545 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3462, allocations: 1.062 kB / 0.545 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3462, allocations: 0 / 0.545 GB, free: 11.25 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.002118/0.3484, allocations: 1.242 MB / 0.5462 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3484, allocations: 12.89 kB / 0.5462 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3486, allocations: 109.4 kB / 0.5463 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.3499, allocations: 0.7167 MB / 0.547 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.3499, allocations: 51.91 kB / 0.5471 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.35, allocations: 57.56 kB / 0.5471 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3514, allocations: 0.808 MB / 0.5479 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3514, allocations: 1.156 kB / 0.5479 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.3515, allocations: 31.39 kB / 0.548 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.3516, allocations: 29.31 kB / 0.548 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3526, allocations: 0.6224 MB / 0.5486 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.3565, allocations: 2.614 MB / 0.5511 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.3574, allocations: 0.5684 MB / 0.5517 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.358, allocations: 334.9 kB / 0.552 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.358, allocations: 5.844 kB / 0.552 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006505/0.3587, allocations: 486.7 kB / 0.5525 GB, free: 5.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.054e-06/0.3587, allocations: 1.062 kB / 0.5525 GB, free: 5.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.00351/0.3622, allocations: 2.009 MB / 0.5544 GB, free: 3.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.3624, allocations: 259.9 kB / 0.5547 GB, free: 3.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.3631, allocations: 0.5586 MB / 0.5552 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.3632, allocations: 45.69 kB / 0.5553 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.3635, allocations: 400.4 kB / 0.5557 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.3637, allocations: 222.1 kB / 0.5559 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.3639, allocations: 146.6 kB / 0.556 GB, free: 2.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3642, allocations: 386.8 kB / 0.5564 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3645, allocations: 225.8 kB / 0.5566 GB, free: 1.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.3651, allocations: 457.8 kB / 0.557 GB, free: 0.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3661, allocations: 0.7973 MB / 0.5578 GB, free: 0 / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3661, allocations: 0 / 0.5578 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001701/0.3678, allocations: 0.9565 MB / 0.5588 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.3679, allocations: 59.41 kB / 0.5588 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3679, allocations: 8 kB / 0.5588 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.3683, allocations: 113.6 kB / 0.5589 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.3688, allocations: 143.7 kB / 0.5591 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.3724, allocations: 3.563 MB / 0.5625 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.3729, allocations: 35.97 kB / 0.5626 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.373, allocations: 51.97 kB / 0.5626 GB, free: 10.75 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.0004983/0.3735, allocations: 366.6 kB / 0.563 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/0.3736, allocations: 75.53 kB / 0.563 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.3748, allocations: 0.7819 MB / 0.5638 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3748, allocations: 11.94 kB / 0.5638 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3748, allocations: 0 / 0.5638 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3748, allocations: 3.984 kB / 0.5638 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.3772, allocations: 1.569 MB / 0.5654 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3772, allocations: 0 / 0.5654 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.3777, allocations: 111.8 kB / 0.5655 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.3777, allocations: 7.938 kB / 0.5655 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.3778, allocations: 19.98 kB / 0.5655 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3778, allocations: 4.188 kB / 0.5655 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3778, allocations: 4 kB / 0.5655 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.3795, allocations: 1.203 MB / 0.5667 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.3797, allocations: 184.6 kB / 0.5669 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.3798, allocations: 23.92 kB / 0.5669 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.3802, allocations: 32.05 kB / 0.5669 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3803, allocations: 48.36 kB / 0.5669 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.206e-05/0.3803, allocations: 55.88 kB / 0.567 GB, free: 6.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004655/0.3808, allocations: 391 kB / 0.5674 GB, free: 5.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 0.5674 GB, free: 5.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007386/0.3816, allocations: 180 kB / 0.5675 GB, free: 5.531 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.0001568/0.3817, allocations: 124.1 kB / 0.5677 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.3832, allocations: 0.9684 MB / 0.5686 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3832, allocations: 0 / 0.5686 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.3838, allocations: 429.2 kB / 0.569 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.3846, allocations: 174.3 kB / 0.5692 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3872, allocations: 1.559 MB / 0.5707 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.388, allocations: 1.016 MB / 0.5717 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004294/0.3884, allocations: 149.8 kB / 0.5718 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.3886, allocations: 51.38 kB / 0.5719 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3886, allocations: 0 / 0.5719 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of Templates: time 0.01587/0.4045, allocations: 7.885 MB / 0.5796 GB, free: 9.113 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/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.318801436573267]