Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.00178/0.001779, allocations: 97.36 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 182.1 kB / 16.58 MB, free: 6.395 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.627/1.627, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06423/0.06423, allocations: 14.16 MB / 285.2 MB, free: 7.145 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.0005378/0.0005381, allocations: 12 kB / 346.8 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1255, allocations: 51.12 MB / 397.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.009942/0.1355, allocations: 9.647 MB / 407.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1459, allocations: 4.582 MB / 412.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.1483, allocations: 31.88 kB / 412.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.1506, allocations: 469.5 kB / 412.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007118/0.1577, allocations: 2.035 MB / 414.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1593, allocations: 446.2 kB / 415.1 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006104/0.1654, allocations: 2.406 MB / 417.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006703/0.1661, allocations: 209 kB / 417.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.1686, allocations: 0.9029 MB / 418.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.1709, allocations: 0.8483 MB / 419.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005227/0.1714, allocations: 47.98 kB / 419.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.174, allocations: 395.6 kB / 419.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005205/0.1746, allocations: 187 kB / 420.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.1758, allocations: 356.8 kB / 420.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.1795, allocations: 1.637 MB / 422 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1795, allocations: 0 / 422 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1796, allocations: 4 kB / 422 MB, free: 8.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.1797, allocations: 4 kB / 422 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.009574/0.1893, allocations: 2.432 MB / 424.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.1893, allocations: 8.031 kB / 424.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.1909, allocations: 261.8 kB / 424.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.1939, allocations: 0.9799 MB / 425.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.1941, allocations: 132.3 kB / 425.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.1944, allocations: 132 kB / 426 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.1972, allocations: 1.324 MB / 427.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.1973, allocations: 7.938 kB / 427.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.1974, allocations: 55.98 kB / 427.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.1975, allocations: 40 kB / 427.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.1998, allocations: 1.239 MB / 428.6 MB, free: 1.699 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.2165/0.4162, allocations: 8.581 MB / 437.2 MB, free: 29.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.419, allocations: 1.538 MB / 438.8 MB, free: 28.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-05/0.4191, allocations: 20.44 kB / 438.8 MB, free: 28.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.4202, allocations: 0.6177 MB / 439.4 MB, free: 28.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=150): time 4.268e-06/0.4202, allocations: 0 / 439.4 MB, free: 28.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=150): time 0.009799/0.43, allocations: 3.161 MB / 442.6 MB, free: 27.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.4301, allocations: 146.7 kB / 442.7 MB, free: 27.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4312, allocations: 0.785 MB / 443.5 MB, free: 26.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.4313, allocations: 47.17 kB / 443.5 MB, free: 26.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.4318, allocations: 0.5773 MB / 444.1 MB, free: 26.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.4322, allocations: 0.5028 MB / 444.6 MB, free: 25.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.4323, allocations: 30.5 kB / 444.7 MB, free: 25.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4324, allocations: 360.9 kB / 445 MB, free: 25.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.4331, allocations: 402.7 kB / 445.4 MB, free: 25.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/0.4338, allocations: 0.6104 MB / 446 MB, free: 25.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.4348, allocations: 0.5434 MB / 446.5 MB, free: 24.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4348, allocations: 1.656 kB / 446.6 MB, free: 24.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003341/0.4381, allocations: 1.736 MB / 448.3 MB, free: 23.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.4382, allocations: 64.8 kB / 448.4 MB, free: 23.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.4382, allocations: 8.844 kB / 448.4 MB, free: 23.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.4399, allocations: 0.4937 MB / 448.9 MB, free: 23.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4412, allocations: 316.6 kB / 449.2 MB, free: 23.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.4481, allocations: 4.53 MB / 453.7 MB, free: 20.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4495, allocations: 97.27 kB / 453.8 MB, free: 20.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.4495, allocations: 49.12 kB / 453.8 MB, free: 20.82 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.0006806/0.4502, allocations: 344.3 kB / 454.2 MB, free: 20.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.4504, allocations: 141.5 kB / 454.3 MB, free: 20.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.4533, allocations: 1.637 MB / 455.9 MB, free: 19.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4533, allocations: 11.78 kB / 456 MB, free: 19.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4533, allocations: 3.969 kB / 456 MB, free: 19.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4533, allocations: 11.92 kB / 456 MB, free: 19.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.4574, allocations: 3.082 MB / 459.1 MB, free: 17.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4574, allocations: 0 / 459.1 MB, free: 17.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.4584, allocations: 257.7 kB / 459.3 MB, free: 17.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.4598, allocations: 477.8 kB / 459.8 MB, free: 17.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.4599, allocations: 23.94 kB / 459.8 MB, free: 17.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/0.4655, allocations: 4.407 MB / 464.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4655, allocations: 7.984 kB / 464.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/0.469, allocations: 2.95 MB / 467.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.4695, allocations: 303.3 kB / 467.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.4697, allocations: 28 kB / 467.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.4703, allocations: 55.61 kB / 467.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.4705, allocations: 109.2 kB / 467.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.4706, allocations: 36.94 kB / 467.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006128/0.4712, allocations: 0.5239 MB / 468.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4712, allocations: 0 / 468.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001645/0.4729, allocations: 0.5303 MB / 468.7 MB, free: 9.402 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.0003499/0.4732, allocations: 214.6 kB / 468.9 MB, free: 9.195 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.002344/0.4756, allocations: 1.644 MB / 470.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4756, allocations: 0 / 470.6 MB, free: 7.512 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.00124/0.4768, allocations: 1.011 MB / 471.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.4774, allocations: 119.4 kB / 471.7 MB, free: 6.355 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.004332/0.4818, allocations: 3.342 MB / 475.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.4825, allocations: 1.226 MB / 476.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007379/0.4832, allocations: 161.8 kB / 476.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.4834, allocations: 79.42 kB / 476.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4834, allocations: 0 / 476.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of Templates: time 0.02864/0.5121, allocations: 16.32 MB / 492.8 MB, free: 1.25 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1) Environment - environmentSimulation: