Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007912/0.0007912, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001121/0.001121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2101/0.2101, allocations: 14.18 MB / 305.3 MB, free: 1.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003905, allocations: 8 kB / 369.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 53.93 MB / 423.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.2175/0.337, allocations: 12.1 MB / 435.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007987/0.345, allocations: 5.05 MB / 440.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.3473, allocations: 44.59 kB / 440.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.3494, allocations: 0.5228 MB / 441.4 MB, free: 29.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007186/0.3567, allocations: 1.97 MB / 443.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.3584, allocations: 0.5235 MB / 443.9 MB, free: 27.66 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘loadPQ.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartB / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.005457/0.3639, allocations: 3.202 MB / 447.1 MB, free: 26.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.3653, allocations: 0.7191 MB / 447.9 MB, free: 25.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.3673, allocations: 0.9556 MB / 448.8 MB, free: 25.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.3687, allocations: 1.058 MB / 449.9 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.3689, allocations: 53.94 kB / 449.9 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.3703, allocations: 438.1 kB / 450.4 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.3705, allocations: 233.7 kB / 450.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.371, allocations: 400.7 kB / 451 MB, free: 24.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.3727, allocations: 1.936 MB / 452.9 MB, free: 23.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3728, allocations: 0 / 452.9 MB, free: 23.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3728, allocations: 3.375 kB / 452.9 MB, free: 23.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.3728, allocations: 0 / 452.9 MB, free: 23.74 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.009595/0.3824, allocations: 3.057 MB / 456 MB, free: 22.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3825, allocations: 9.312 kB / 456 MB, free: 22.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/0.3829, allocations: 214.8 kB / 456.2 MB, free: 22.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.3839, allocations: 276.8 kB / 456.5 MB, free: 22.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.3857, allocations: 1.105 MB / 457.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.3858, allocations: 152.2 kB / 457.7 MB, free: 21.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.386, allocations: 159 kB / 457.9 MB, free: 21.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.388, allocations: 1.465 MB / 459.3 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3881, allocations: 4 kB / 459.3 MB, free: 20.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/0.3882, allocations: 63 kB / 459.4 MB, free: 20.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.3882, allocations: 36 kB / 459.4 MB, free: 20.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.3901, allocations: 1.353 MB / 460.8 MB, free: 19.96 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.00761/0.3977, allocations: 9.3 MB / 470.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.4002, allocations: 1.663 MB / 471.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/0.4011, allocations: 0.6075 MB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.4012, allocations: 21.67 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.4023, allocations: 0.7608 MB / 473.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=161): time 4.328e-06/0.4023, allocations: 1.312 kB / 473.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=161): time 0.01041/0.4127, allocations: 3.364 MB / 476.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.4129, allocations: 289.8 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.4147, allocations: 0.9631 MB / 477.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.4149, allocations: 60.98 kB / 477.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.4155, allocations: 0.6707 MB / 478.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/0.4161, allocations: 0.5735 MB / 479.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4162, allocations: 55.56 kB / 479.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4163, allocations: 401.6 kB / 479.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.4175, allocations: 0.6772 MB / 480.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.419, allocations: 1.013 MB / 481.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4204, allocations: 0.8948 MB / 482.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4204, allocations: 2.75 kB / 482.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.004622/0.4251, allocations: 2.618 MB / 484.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.4251, allocations: 61.34 kB / 484.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.4252, allocations: 7.125 kB / 484.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.4268, allocations: 0.5036 MB / 485.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.429, allocations: 0.547 MB / 485.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.4359, allocations: 4.449 MB / 490.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.4379, allocations: 172.2 kB / 490.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4381, allocations: 85.72 kB / 490.5 MB, free: 1.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (291): * Single equations (assignments): 288 * 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.0007866/0.4389, allocations: 410.5 kB / 490.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.4392, allocations: 151.1 kB / 491.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.4423, allocations: 1.692 MB / 492.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.4423, allocations: 16.81 kB / 492.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4423, allocations: 2.844 kB / 492.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.4424, allocations: 9.422 kB / 492.8 MB, free: 432 kB / 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 postOpt removeSimpleEquations (simulation): time 0.005496/0.4479, allocations: 3.788 MB / 496.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4479, allocations: 2.25 kB / 496.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.449, allocations: 281.2 kB / 496.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.4504, allocations: 479.5 kB / 497.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.362e-05/0.4505, allocations: 39.92 kB / 497.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/0.4567, allocations: 4.31 MB / 0.4899 GB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4568, allocations: 7.938 kB / 0.4899 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.4602, allocations: 1.775 MB / 0.4917 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/0.4611, allocations: 343 kB / 0.492 GB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.4612, allocations: 28 kB / 0.492 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/0.462, allocations: 55.73 kB / 0.4921 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.4623, allocations: 112.9 kB / 0.4922 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.4623, allocations: 36 kB / 0.4922 GB, free: 6.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009547/0.4633, allocations: 0.6106 MB / 0.4928 GB, free: 6.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4633, allocations: 0 / 0.4928 GB, free: 6.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002326/0.4656, allocations: 0.6948 MB / 0.4935 GB, free: 5.316 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (115): * Single equations (assignments): 113 * 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.003862/0.4695, allocations: 2.46 MB / 0.4959 GB, free: 2.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.474, allocations: 2.235 MB / 0.4981 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4741, allocations: 1.688 kB / 0.4981 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4758, allocations: 1.05 MB / 0.4991 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.4776, allocations: 152.6 kB / 0.4992 GB, free: 15.31 MB / 382.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.01636/0.4939, allocations: 9.104 MB / 0.5081 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/0.4949, allocations: 1.234 MB / 0.5093 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.496, allocations: 209.6 kB / 0.5095 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/0.4967, allocations: 0.5813 MB / 0.5101 GB, free: 3.652 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4967, allocations: 0 / 0.5101 GB, free: 3.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07897/0.5757, allocations: 33.43 MB / 0.5428 GB, free: 2.488 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.576, allocations: 230.9 kB / 0.543 GB, free: 2.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.208, allocations: 0 / 0.543 GB, free: 2.25 MB / 414.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1)