Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009774, allocations: 92.16 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 183.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1808/0.1808, allocations: 38.05 MB / 310.1 MB, free: 5.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005268, allocations: 19.22 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2562, allocations: 56.33 MB / 433.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008146/0.2644, allocations: 10.2 MB / 443.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.2712, allocations: 3.931 MB / 447.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.2725, allocations: 67.5 kB / 447.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009404/0.2735, allocations: 357.9 kB / 448 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.2757, allocations: 1.047 MB / 449.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.2775, allocations: 0.6239 MB / 449.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004365/0.2819, allocations: 4.13 MB / 453.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.284, allocations: 1.24 MB / 455.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.2857, allocations: 0.7855 MB / 455.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.2876, allocations: 1.402 MB / 457.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2878, allocations: 64 kB / 457.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.289, allocations: 0.542 MB / 457.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008584/0.2899, allocations: 0.865 MB / 458.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009454/0.2908, allocations: 0.8409 MB / 459.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.2931, allocations: 2.219 MB / 461.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2931, allocations: 0 / 461.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2931, allocations: 0 / 461.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.2931, allocations: 0 / 461.8 MB, free: 6.211 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.002886/0.296, allocations: 1.692 MB / 463.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2961, allocations: 8.031 kB / 463.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.2978, allocations: 350.4 kB / 463.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.2994, allocations: 1.028 MB / 464.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.2995, allocations: 107.1 kB / 465 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.2998, allocations: 167.9 kB / 465.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.3031, allocations: 2.332 MB / 467.5 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.3032, allocations: 11.94 kB / 467.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.3034, allocations: 59.97 kB / 467.5 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005117/0.3039, allocations: 222.8 kB / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.3066, allocations: 1.846 MB / 469.6 MB, free: 14.13 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.3179, allocations: 9.575 MB / 479.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.3201, allocations: 1.548 MB / 480.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.321, allocations: 0.6136 MB / 481.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.321, allocations: 20.98 kB / 481.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.3221, allocations: 0.8566 MB / 482.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 2.716e-06/0.3221, allocations: 0 / 482.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.005851/0.328, allocations: 4.015 MB / 486.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.3282, allocations: 282.3 kB / 486.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3292, allocations: 0.9146 MB / 487.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.3293, allocations: 49.7 kB / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.3299, allocations: 0.7705 MB / 488.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.3302, allocations: 449.7 kB / 488.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.3304, allocations: 153.8 kB / 488.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3306, allocations: 357.9 kB / 489.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008537/0.3314, allocations: 0.5856 MB / 489.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.3327, allocations: 1.171 MB / 490.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.3354, allocations: 2.004 MB / 492.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.3354, allocations: 8 kB / 492.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004591/0.34, allocations: 2.482 MB / 495.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.3401, allocations: 67.41 kB / 495.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002756/0.3429, allocations: 1.573 MB / 497.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.3445, allocations: 0.5531 MB / 497.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/0.3455, allocations: 323.5 kB / 497.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009581/0.3551, allocations: 8.715 MB / 0.4948 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.3563, allocations: 79.88 kB / 0.4948 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.3565, allocations: 91.97 kB / 0.4949 GB, free: 6.934 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.3575, allocations: 0.6037 MB / 0.4955 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.3577, allocations: 126.5 kB / 0.4956 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.3601, allocations: 1.543 MB / 0.4972 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3601, allocations: 12 kB / 0.4972 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3601, allocations: 3.938 kB / 0.4972 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.3602, allocations: 7.984 kB / 0.4972 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005129/0.3653, allocations: 3.068 MB / 0.5002 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3653, allocations: 8 kB / 0.5002 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.3666, allocations: 299.8 kB / 0.5005 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.3667, allocations: 4 kB / 0.5005 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.3667, allocations: 43.97 kB / 0.5005 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.3668, allocations: 11.88 kB / 0.5005 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3668, allocations: 4 kB / 0.5005 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.3698, allocations: 2.32 MB / 0.5028 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.3703, allocations: 291.5 kB / 0.5031 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.3705, allocations: 32 kB / 0.5031 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.371, allocations: 43.97 kB / 0.5031 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.3712, allocations: 80.83 kB / 0.5032 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.3714, allocations: 83.86 kB / 0.5033 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008207/0.3722, allocations: 0.6025 MB / 0.5039 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3722, allocations: 0 / 0.5039 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001555/0.3738, allocations: 424 kB / 0.5043 GB, free: 13.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.0002442/0.374, allocations: 143 kB / 0.5044 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003659/0.3777, allocations: 2.311 MB / 0.5067 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3777, allocations: 0 / 0.5067 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3788, allocations: 0.8726 MB / 0.5075 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.3802, allocations: 216.2 kB / 0.5077 GB, free: 9.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.3863, allocations: 4.187 MB / 0.5118 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.3875, allocations: 1.458 MB / 0.5133 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.3888, allocations: 462.3 kB / 0.5137 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.389, allocations: 91.42 kB / 0.5138 GB, free: 3.223 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.389, allocations: 0 / 0.5138 GB, free: 3.223 MB / 398.1 MB Notification: Performance of Templates: time 0.2328/0.6219, allocations: 14.36 MB / 0.5278 GB, free: 81.55 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) Environment - environmentSimulation: