Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001505/0.001505, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001941/0.001941, allocations: 172.9 kB / 24.82 MB, free: 8.879 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2545/0.2545, allocations: 29.41 MB / 291.2 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.542e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005706/0.005721, allocations: 5.861 MB / 376 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.008362, allocations: 1.718 MB / 377.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.008827, allocations: 35.69 kB / 377.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.009483, allocations: 214.5 kB / 377.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.01087, allocations: 0.5944 MB / 378.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.01127, allocations: 215.5 kB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.01247, allocations: 1.296 MB / 380 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.01276, allocations: 211 kB / 380.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.01392, allocations: 0.8884 MB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.01446, allocations: 0.5102 MB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.01453, allocations: 56 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.836e-05/0.01463, allocations: 60 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.01486, allocations: 351 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.01506, allocations: 283.3 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.01557, allocations: 0.6226 MB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01557, allocations: 0 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01557, allocations: 4 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01558, allocations: 4 kB / 383 MB, free: 13.77 MB / 362.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.001113/0.0167, allocations: 1.233 MB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01674, allocations: 15.98 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.01687, allocations: 152.3 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.01745, allocations: 0.5934 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.01748, allocations: 49.69 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.01754, allocations: 60.38 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.01837, allocations: 0.6064 MB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01838, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.01841, allocations: 28 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.01845, allocations: 33.31 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.01872, allocations: 300.2 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.0204, allocations: 2.371 MB / 388.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.0208, allocations: 455.2 kB / 388.9 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.02104, allocations: 264.1 kB / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.02106, allocations: 8.5 kB / 389.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.02139, allocations: 450.9 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 1.743e-06/0.02139, allocations: 0 / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001542/0.02293, allocations: 1.375 MB / 390.9 MB, free: 5.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.02301, allocations: 251.8 kB / 391.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.02334, allocations: 0.5645 MB / 391.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.02337, allocations: 41.83 kB / 391.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.02386, allocations: 471 kB / 392.2 MB, free: 3.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02397, allocations: 214.2 kB / 392.5 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.0241, allocations: 156.2 kB / 392.6 MB, free: 3.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.0243, allocations: 0.574 MB / 393.2 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.02443, allocations: 145.3 kB / 393.3 MB, free: 2.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.02477, allocations: 479.6 kB / 393.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.02519, allocations: 0.6428 MB / 394.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02519, allocations: 4 kB / 394.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.000706/0.0259, allocations: 0.7681 MB / 395.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.02594, allocations: 67.39 kB / 395.3 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02595, allocations: 4 kB / 395.3 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.02617, allocations: 112 kB / 395.4 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.02642, allocations: 143.8 kB / 395.5 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.02861, allocations: 4.186 MB / 399.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.02878, allocations: 28 kB / 399.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.02883, allocations: 47.95 kB / 399.8 MB, free: 11.81 MB / 378.7 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.0001776/0.02901, allocations: 285.8 kB / 400.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.02908, allocations: 95.53 kB / 400.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.02959, allocations: 0.6504 MB / 400.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02959, allocations: 8 kB / 400.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.02959, allocations: 7.922 kB / 400.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.0296, allocations: 0 / 400.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.03056, allocations: 1.189 MB / 402 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.03056, allocations: 0 / 402 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.03079, allocations: 99.88 kB / 402.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.0308, allocations: 7.938 kB / 402.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.03082, allocations: 23.98 kB / 402.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.03082, allocations: 4 kB / 402.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.03082, allocations: 128 / 402.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/0.03151, allocations: 1.047 MB / 403.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.03162, allocations: 99.48 kB / 403.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.03166, allocations: 19.94 kB / 403.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.03179, allocations: 19.98 kB / 403.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.03184, allocations: 40.44 kB / 403.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.03189, allocations: 63.84 kB / 403.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.03205, allocations: 330.6 kB / 403.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03205, allocations: 0 / 403.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.03244, allocations: 180 kB / 403.9 MB, free: 7.469 MB / 378.7 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.0001064/0.03254, allocations: 124.2 kB / 404.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.03323, allocations: 1.006 MB / 405.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03323, allocations: 4 kB / 405.1 MB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.03346, allocations: 381.9 kB / 405.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.0339, allocations: 166.6 kB / 405.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.03569, allocations: 1.413 MB / 407 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.03581, allocations: 215.4 kB / 407.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.03599, allocations: 89.7 kB / 407.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.03625, allocations: 246.1 kB / 407.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03625, allocations: 0 / 407.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of Templates: time 0.01048/0.04673, allocations: 8.224 MB / 415.8 MB, free: 11.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2472549928352237]