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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.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.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.00154/0.00154, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.001793/0.001793, allocations: 181.4 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1814/0.1814, allocations: 38.04 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.88 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2846, allocations: 58.05 MB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008549/0.2932, allocations: 9.085 MB / 0.5136 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005549/0.2988, allocations: 3.366 MB / 0.5169 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008502/0.2997, allocations: 35.25 kB / 0.5169 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.3024, allocations: 1.039 MB / 0.518 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.305, allocations: 1.11 MB / 0.519 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.3069, allocations: 0.6881 MB / 0.5197 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.3102, allocations: 2.393 MB / 0.5221 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.3114, allocations: 0.8182 MB / 0.5228 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.3133, allocations: 1.009 MB / 0.5238 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.3155, allocations: 1.331 MB / 0.5251 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003943/0.3159, allocations: 129.2 kB / 0.5253 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3173, allocations: 0.5804 MB / 0.5258 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.3186, allocations: 0.9252 MB / 0.5267 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.3203, allocations: 0.8968 MB / 0.5276 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.3234, allocations: 2.344 MB / 0.5299 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3234, allocations: 0 / 0.5299 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3235, allocations: 1.094 kB / 0.5299 GB, free: 9.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.155e-05/0.3235, allocations: 3.938 kB / 0.5299 GB, free: 9.188 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.004374/0.3279, allocations: 2.011 MB / 0.5319 GB, free: 7.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.328, allocations: 12.55 kB / 0.5319 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.3299, allocations: 362.2 kB / 0.5322 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.332, allocations: 1.081 MB / 0.5333 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.3321, allocations: 103.6 kB / 0.5334 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.3325, allocations: 167.4 kB / 0.5335 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.3359, allocations: 2.323 MB / 0.5358 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.336, allocations: 9.531 kB / 0.5358 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.3362, allocations: 63.53 kB / 0.5359 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005439/0.3367, allocations: 222.5 kB / 0.5361 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.3396, allocations: 1.851 MB / 0.5379 GB, free: 4.145 MB / 398.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.01088/0.3505, allocations: 9.508 MB / 0.5472 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.3527, allocations: 1.548 MB / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.3536, allocations: 0.6098 MB / 0.5493 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/0.3536, allocations: 20.98 kB / 0.5493 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.3548, allocations: 0.8528 MB / 0.5501 GB, free: 9.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.599e-06/0.3548, allocations: 4 kB / 0.5501 GB, free: 9.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.005909/0.3607, allocations: 4.019 MB / 0.5541 GB, free: 5.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.3608, allocations: 282.3 kB / 0.5543 GB, free: 4.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3619, allocations: 0.9149 MB / 0.5552 GB, free: 3.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/0.362, allocations: 53.7 kB / 0.5553 GB, free: 3.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.3626, allocations: 0.7627 MB / 0.556 GB, free: 2.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.3629, allocations: 457.6 kB / 0.5565 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.3634, allocations: 323.2 kB / 0.5568 GB, free: 2.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3635, allocations: 361.9 kB / 0.5571 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009035/0.3644, allocations: 0.5739 MB / 0.5577 GB, free: 1.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3657, allocations: 1.178 MB / 0.5588 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.368, allocations: 2.001 MB / 0.5608 GB, free: 13.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.3681, allocations: 4 kB / 0.5608 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004306/0.3724, allocations: 2.492 MB / 0.5632 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.3725, allocations: 75.39 kB / 0.5633 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002849/0.3753, allocations: 1.568 MB / 0.5648 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.3769, allocations: 0.5417 MB / 0.5653 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.378, allocations: 331.5 kB / 0.5657 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.3884, allocations: 9.461 MB / 0.5749 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.3896, allocations: 79.81 kB / 0.575 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.3898, allocations: 91.97 kB / 0.5751 GB, free: 14.25 MB / 446.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.3908, allocations: 0.5998 MB / 0.5757 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.3911, allocations: 126.5 kB / 0.5758 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.3936, allocations: 1.539 MB / 0.5773 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.3936, allocations: 3.984 kB / 0.5773 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3936, allocations: 0 / 0.5773 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.3942, allocations: 303.4 kB / 0.5776 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.3944, allocations: 28 kB / 0.5776 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.395, allocations: 39.97 kB / 0.5776 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.3951, allocations: 76.89 kB / 0.5777 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003477/0.3986, allocations: 1.988 MB / 0.5796 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003239/0.4019, allocations: 2.566 MB / 0.5822 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008944/0.4028, allocations: 0.6952 MB / 0.5828 GB, free: 6.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008695/0.4037, allocations: 0.6025 MB / 0.5834 GB, free: 5.543 MB / 446.1 MB Notification: Performance of Backend: time 5.91e-07/0.4037, allocations: 0 / 0.5834 GB, free: 5.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.4077, allocations: 2.088 MB / 0.5855 GB, free: 3.375 MB / 446.1 MB Notification: Performance of SimCode: time 0.005458/0.4132, allocations: 3.515 MB / 0.5889 GB, free: 15.79 MB / 462.1 MB Notification: Performance of Templates: time 0.03354/0.4468, allocations: 20.03 MB / 0.6085 GB, free: 11.85 MB / 478.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (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)