Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTransformerFixedRatio",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.0009513/0.0009519, allocations: 92.94 kB / 15.71 MB, free: 464 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.001196/0.001196, allocations: 175.7 kB / 16.58 MB, free: 6.355 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.842/1.842, allocations: 205.4 MB / 222.8 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.07429/0.07429, allocations: 14.16 MB / 285.2 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.0006244/0.0006244, allocations: 15.94 kB / 346.9 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1239, allocations: 51.12 MB / 398 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007306/0.1312, allocations: 6.441 MB / 404.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.1377, allocations: 3.244 MB / 407.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008554/0.1386, allocations: 15.94 kB / 407.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1397, allocations: 306.4 kB / 408 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.1431, allocations: 1.258 MB / 409.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009212/0.144, allocations: 470.1 kB / 409.7 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00254/0.1466, allocations: 1.743 MB / 411.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.1469, allocations: 114.4 kB / 411.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.1476, allocations: 465.7 kB / 412.1 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.1483, allocations: 0.4978 MB / 412.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.1483, allocations: 28 kB / 412.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009836/0.1493, allocations: 343.7 kB / 412.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1494, allocations: 111.3 kB / 413 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.1497, allocations: 209.2 kB / 413.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.1508, allocations: 0.9898 MB / 414.2 MB, free: 380 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1508, allocations: 0 / 414.2 MB, free: 380 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1508, allocations: 0 / 414.2 MB, free: 380 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1508, allocations: 0 / 414.2 MB, free: 380 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004328/0.1552, allocations: 1.477 MB / 415.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1552, allocations: 20 kB / 415.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.1554, allocations: 118.5 kB / 415.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.156, allocations: 150.7 kB / 416 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.1572, allocations: 0.6131 MB / 416.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.1573, allocations: 54 kB / 416.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.1574, allocations: 68 kB / 416.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.1586, allocations: 0.7514 MB / 417.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1586, allocations: 0 / 417.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.1587, allocations: 32 kB / 417.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.1587, allocations: 16 kB / 417.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1598, allocations: 0.6792 MB / 418.2 MB, free: 12.26 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.005331/0.1652, allocations: 4.764 MB / 423 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.167, allocations: 0.9361 MB / 423.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.1676, allocations: 291.1 kB / 424.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.072e-05/0.1677, allocations: 16.59 kB / 424.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1679, allocations: 39.22 kB / 424.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 3.496e-06/0.1679, allocations: 0 / 424.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.005153/0.1731, allocations: 1.693 MB / 425.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1731, allocations: 60.06 kB / 426 MB, free: 3.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/0.1739, allocations: 0.4991 MB / 426.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.174, allocations: 41.7 kB / 426.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.1743, allocations: 355.9 kB / 426.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.1746, allocations: 272.1 kB / 427.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1746, allocations: 12 kB / 427.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1748, allocations: 378.7 kB / 427.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.1751, allocations: 205.9 kB / 427.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.1756, allocations: 347.7 kB / 428.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.1761, allocations: 259 kB / 428.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1761, allocations: 4 kB / 428.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001885/0.178, allocations: 0.9544 MB / 429.3 MB, free: 492 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.178, allocations: 8 kB / 429.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.178, allocations: 4 kB / 429.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.1791, allocations: 307.5 kB / 429.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.1797, allocations: 163.8 kB / 429.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2659/0.4456, allocations: 3.077 MB / 432.8 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.4465, allocations: 54.67 kB / 432.9 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.4466, allocations: 31.84 kB / 432.9 MB, free: 34.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0004073/0.447, allocations: 226.7 kB / 433.1 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.4472, allocations: 76.92 kB / 433.2 MB, free: 34.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.4493, allocations: 0.8846 MB / 434.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.4494, allocations: 7.781 kB / 434.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4494, allocations: 0 / 434.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4494, allocations: 4.719 kB / 434.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.4527, allocations: 1.811 MB / 435.9 MB, free: 33.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4527, allocations: 0 / 435.9 MB, free: 33.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.4533, allocations: 132.4 kB / 436 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.4543, allocations: 294.8 kB / 436.3 MB, free: 33.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.4543, allocations: 19.91 kB / 436.3 MB, free: 33.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.4584, allocations: 2.975 MB / 439.3 MB, free: 31.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4584, allocations: 0 / 439.3 MB, free: 31.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.461, allocations: 1.875 MB / 441.2 MB, free: 30.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.4613, allocations: 204.2 kB / 441.4 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.4614, allocations: 11.3 kB / 441.4 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.4618, allocations: 35.16 kB / 441.4 MB, free: 29.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.462, allocations: 57.86 kB / 441.5 MB, free: 29.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.462, allocations: 20.84 kB / 441.5 MB, free: 29.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004904/0.4625, allocations: 350.1 kB / 441.9 MB, free: 29.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4625, allocations: 0 / 441.9 MB, free: 29.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001522/0.464, allocations: 301.8 kB / 442.1 MB, free: 29.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.4663, allocations: 1.553 MB / 443.7 MB, free: 28.72 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.001959/0.4683, allocations: 0.8498 MB / 444.6 MB, free: 28.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4683, allocations: 1.188 kB / 444.6 MB, free: 28.32 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.001012/0.4693, allocations: 0.5656 MB / 445.1 MB, free: 28.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.4699, allocations: 89.61 kB / 445.2 MB, free: 27.96 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.008276/0.4782, allocations: 4.455 MB / 449.7 MB, free: 25.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.4788, allocations: 0.9587 MB / 450.6 MB, free: 24.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000389/0.4792, allocations: 81.52 kB / 450.7 MB, free: 24.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.4795, allocations: 255.2 kB / 450.9 MB, free: 24.53 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4795, allocations: 0 / 450.9 MB, free: 24.53 MB / 318.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 1154.700538379252, 0.0). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, -577.3502691896258, 0.0).