Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001144/0.001144, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06436/0.06437, allocations: 14.16 MB / 284.5 MB, free: 7.137 MB / 238.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.0005357/0.000536, allocations: 16 kB / 346.1 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09474, allocations: 51.11 MB / 397.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.009289/0.1041, allocations: 9.643 MB / 406.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007538/0.1117, allocations: 4.597 MB / 411.5 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.1131, allocations: 31.88 kB / 411.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.1145, allocations: 469.5 kB / 412 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.1198, allocations: 2.029 MB / 414 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1209, allocations: 446.2 kB / 414.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004232/0.1251, allocations: 2.402 MB / 416.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.1255, allocations: 213 kB / 417 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.1269, allocations: 0.9068 MB / 418 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.128, allocations: 0.8405 MB / 418.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1281, allocations: 47.94 kB / 418.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1293, allocations: 407.6 kB / 419.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1295, allocations: 183 kB / 419.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.1299, allocations: 356.8 kB / 419.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.1319, allocations: 1.64 MB / 421.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1319, allocations: 0 / 421.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1319, allocations: 0 / 421.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.616e-05/0.132, allocations: 0 / 421.4 MB, free: 8.516 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.008342/0.1403, allocations: 2.424 MB / 423.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1404, allocations: 12.03 kB / 423.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.1417, allocations: 265.8 kB / 424.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.1438, allocations: 0.9877 MB / 425.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.144, allocations: 132.3 kB / 425.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.1442, allocations: 124 kB / 425.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.1464, allocations: 1.332 MB / 426.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.1465, allocations: 7.938 kB / 426.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1466, allocations: 52 kB / 426.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.1466, allocations: 32 kB / 426.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.1487, allocations: 1.235 MB / 428 MB, free: 1.707 MB / 318.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.1952/0.3439, allocations: 8.588 MB / 436.6 MB, free: 29.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.3463, allocations: 1.533 MB / 438.1 MB, free: 28.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.631e-05/0.3464, allocations: 19.06 kB / 438.1 MB, free: 28.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.3475, allocations: 0.6288 MB / 438.8 MB, free: 28.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=150): time 3.977e-06/0.3475, allocations: 1.781 kB / 438.8 MB, free: 28.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=150): time 0.009285/0.3568, allocations: 3.153 MB / 441.9 MB, free: 27.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.3569, allocations: 154.6 kB / 442.1 MB, free: 27.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.358, allocations: 0.7804 MB / 442.9 MB, free: 26.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.3581, allocations: 56.39 kB / 442.9 MB, free: 26.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.3585, allocations: 0.5711 MB / 443.5 MB, free: 26.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.3589, allocations: 0.5003 MB / 444 MB, free: 26.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.3589, allocations: 30.16 kB / 444 MB, free: 26.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.359, allocations: 364.3 kB / 444.4 MB, free: 25.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.3597, allocations: 402.3 kB / 444.8 MB, free: 25.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.3604, allocations: 0.6081 MB / 445.4 MB, free: 25.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.3613, allocations: 0.5354 MB / 445.9 MB, free: 24.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3613, allocations: 5.812 kB / 445.9 MB, free: 24.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003134/0.3645, allocations: 1.739 MB / 447.6 MB, free: 24.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.3645, allocations: 66.3 kB / 447.7 MB, free: 24.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.3645, allocations: 12.97 kB / 447.7 MB, free: 24.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.3662, allocations: 0.4957 MB / 448.2 MB, free: 23.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.3674, allocations: 307.4 kB / 448.5 MB, free: 23.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006229/0.3737, allocations: 4.532 MB / 453.1 MB, free: 21.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.3748, allocations: 95.61 kB / 453.1 MB, free: 21.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.3749, allocations: 52.58 kB / 453.2 MB, free: 21.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$whenCondition1,$whenCondition2,$PRE.transformer.breakerStatus,transformer.breakerStatus,$PRE.transformer.breakerStatusInInternal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 37} Notification: Performance of prepare postOptimizeDAE: time 0.0005406/0.3754, allocations: 346.4 kB / 453.5 MB, free: 20.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.3756, allocations: 146.8 kB / 453.7 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.3783, allocations: 1.623 MB / 455.3 MB, free: 19.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3783, allocations: 15.75 kB / 455.3 MB, free: 19.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3783, allocations: 3.953 kB / 455.3 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3783, allocations: 11.97 kB / 455.3 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.3825, allocations: 3.073 MB / 458.4 MB, free: 17.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3825, allocations: 4 kB / 458.4 MB, free: 17.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/0.3835, allocations: 249.7 kB / 458.7 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.3848, allocations: 481.7 kB / 459.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.3849, allocations: 34.67 kB / 459.2 MB, free: 17.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005416/0.3903, allocations: 4.411 MB / 463.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3903, allocations: 3.953 kB / 463.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.3928, allocations: 1.669 MB / 465.2 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.3932, allocations: 307.3 kB / 465.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3934, allocations: 24 kB / 465.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/0.3941, allocations: 63.61 kB / 465.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.3943, allocations: 105.2 kB / 465.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.3943, allocations: 33.5 kB / 465.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005844/0.3949, allocations: 0.5161 MB / 466.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3949, allocations: 0 / 466.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001365/0.3963, allocations: 0.5267 MB / 466.8 MB, free: 10.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.3966, allocations: 222.5 kB / 467 MB, free: 10.63 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created initialization part: time 0.002315/0.3989, allocations: 1.643 MB / 468.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3989, allocations: 8.188 kB / 468.7 MB, free: 8.941 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4002, allocations: 1.003 MB / 469.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.4008, allocations: 126.2 kB / 469.8 MB, free: 7.793 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.4038, allocations: 2.603 MB / 472.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.4043, allocations: 1.199 MB / 473.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006858/0.405, allocations: 158 kB / 473.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.4051, allocations: 79.42 kB / 473.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4051, allocations: 0 / 473.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of Templates: time 0.02641/0.4316, allocations: 16.33 MB / 490.2 MB, free: 3.457 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1) Environment - environmentSimulation: