Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen",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.001055/0.001055, allocations: 96.03 kB / 15.69 MB, free: 480 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.001266/0.001266, allocations: 175.3 kB / 16.57 MB, free: 6.391 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.604/1.604, 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.05961/0.05961, 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.0006783/0.0006784, allocations: 16 kB / 349.5 MB, free: 17.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1232, allocations: 51.12 MB / 400.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen): time 0.01683/0.1401, allocations: 13.79 MB / 414.5 MB, free: 120 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1539, allocations: 6.774 MB / 421.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004005/0.1579, allocations: 71.56 kB / 421.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.1609, allocations: 0.5667 MB / 421.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008187/0.1691, allocations: 2.276 MB / 424.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.1738, allocations: 1.165 MB / 425.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.1841, allocations: 3.523 MB / 428.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.1864, allocations: 0.6639 MB / 429.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2445/0.431, allocations: 1.341 MB / 430.8 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/0.4346, allocations: 1.388 MB / 432.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007095/0.4353, allocations: 96.25 kB / 432.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.4378, allocations: 452.7 kB / 432.8 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000437/0.4383, allocations: 395.2 kB / 433.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.4397, allocations: 0.5841 MB / 433.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.4459, allocations: 3.582 MB / 437.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.446, allocations: 4.344 kB / 437.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.446, allocations: 0 / 437.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.4461, allocations: 3.375 kB / 437.3 MB, free: 13.85 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01333/0.4595, allocations: 3.732 MB / 441.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4595, allocations: 13.08 kB / 441.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009948/0.4605, allocations: 284.2 kB / 441.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.4627, allocations: 433.3 kB / 441.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/0.4675, allocations: 1.946 MB / 443.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.4677, allocations: 167.7 kB / 443.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.4681, allocations: 220.6 kB / 444.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.4723, allocations: 2.202 MB / 446.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.4723, allocations: 0.75 kB / 446.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.4725, allocations: 87.06 kB / 446.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.4725, allocations: 50.19 kB / 446.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/0.4769, allocations: 2.098 MB / 448.5 MB, free: 10.8 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.01606/0.4929, allocations: 12.6 MB / 461.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.4967, allocations: 2.864 MB / 464 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.4968, allocations: 26.56 kB / 464 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.4985, allocations: 1.158 MB / 465.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=209): time 3.256e-06/0.4985, allocations: 0 / 465.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=210): time 0.01591/0.5144, allocations: 6.614 MB / 471.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.5147, allocations: 371 kB / 472.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.5179, allocations: 1.791 MB / 473.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003601/0.5182, allocations: 73.7 kB / 474 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.5192, allocations: 1.064 MB / 475.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009443/0.5202, allocations: 0.7285 MB / 475.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.5203, allocations: 52 kB / 475.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.5206, allocations: 403.5 kB / 476.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.5224, allocations: 0.9424 MB / 477.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.5246, allocations: 1.483 MB / 478.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.5267, allocations: 1.169 MB / 479.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.5267, allocations: 3.984 kB / 479.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=345) (initialization): time 0.00997/0.5367, allocations: 4.235 MB / 484.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002161/0.5389, allocations: 4.887 MB / 489 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.5389, allocations: 12 kB / 489 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004685/0.5436, allocations: 1.393 MB / 490.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.546, allocations: 0.5334 MB / 490.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.5739, allocations: 21.69 MB / 0.5006 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.5772, allocations: 183.5 kB / 0.5008 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.5775, allocations: 95.98 kB / 0.5009 GB, free: 2.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5775, allocations: 4 kB / 0.5009 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00605/0.5835, allocations: 2.917 MB / 0.5037 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.5836, allocations: 12 kB / 0.5037 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.5866, allocations: 0.7993 MB / 0.5045 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.5891, allocations: 0.6075 MB / 0.5051 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/0.6058, allocations: 14.76 MB / 0.5195 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/0.6088, allocations: 119.6 kB / 0.5196 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.6091, allocations: 95.98 kB / 0.5197 GB, free: 13.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im,ctrlGEN.PSS.firstWashoutVsi2.integrator.local_reset,ctrlGEN.PSS.secondWashoutVsi1.integrator.local_reset,ctrlGEN.PSS.firstWashoutVsi1.integrator.local_reset,ctrlGEN.AVR.firstOrderLim.I.local_reset,ctrlGEN.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {6 32,1 1,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.001781/0.6109, allocations: 0.6831 MB / 0.5204 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/0.6116, allocations: 253 kB / 0.5206 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.6166, allocations: 2.479 MB / 0.523 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.6166, allocations: 23.95 kB / 0.5231 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.6166, allocations: 7.984 kB / 0.5231 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/0.6167, allocations: 10.81 kB / 0.5231 GB, free: 10.43 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 postOpt removeSimpleEquations (simulation): time 0.009846/0.6265, allocations: 5.173 MB / 0.5281 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.6266, allocations: 7.891 kB / 0.5281 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.6282, allocations: 372.2 kB / 0.5285 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.6298, allocations: 0.4966 MB / 0.529 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.6299, allocations: 50.5 kB / 0.529 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006139/0.6361, allocations: 4.083 MB / 0.533 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.6361, allocations: 0 / 0.533 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05332/0.6894, allocations: 23.66 MB / 0.5561 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/0.6914, allocations: 0.4979 MB / 0.5566 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/0.6918, allocations: 44 kB / 0.5566 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.6933, allocations: 115.8 kB / 0.5568 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/0.6937, allocations: 137.8 kB / 0.5569 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.6938, allocations: 55.98 kB / 0.5569 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002118/0.696, allocations: 1.155 MB / 0.5581 GB, free: 6.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.696, allocations: 0 / 0.5581 GB, free: 6.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006911/0.7029, allocations: 1.75 MB / 0.5598 GB, free: 4.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (ctrlGEN.GEN.theta,ctrlGEN.GEN.omegaPu,ctrlGEN.GEN.lambdaDPu,ctrlGEN.GEN.lambdafPu,ctrlGEN.GEN.lambdaQ1Pu,ctrlGEN.GEN.lambdaQ2Pu,ctrlGEN.TGOV.firstOrderLim.I.y,ctrlGEN.TGOV.leadLag.firstOrder.y,ctrlGEN.AVR.leadLag.firstOrder.y,ctrlGEN.AVR.firstOrderLim.I.y,ctrlGEN.PSS.firstWashoutVsi1.integrator.y,ctrlGEN.PSS.secondWashoutVsi1.integrator.y,ctrlGEN.PSS.firstWashoutVsi2.integrator.y,ctrlGEN.PSS.leadLag1.firstOrder.y,ctrlGEN.PSS.leadLag2.firstOrder.y,ctrlGEN.PSS.firstOrderVsi2.firstOrder1.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,NTHV.Y.re,NTHV.Y.im,NTHV.fault) * Number of discrete states: 7 ($whenCondition4,NTHV.Y.im,NTHV.Y.re,$whenCondition3,NTHV.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 167 * 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: 1 {(9,48.1%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008114/0.7111, allocations: 4.266 MB / 0.5639 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01288/0.724, allocations: 7.053 MB / 0.5708 GB, free: 8.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.724, allocations: 4.062 kB / 0.5708 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003023/0.7271, allocations: 1.49 MB / 0.5723 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.7295, allocations: 369 kB / 0.5726 GB, free: 6.973 MB / 446.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.01889/0.7484, allocations: 15.9 MB / 0.5882 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.7501, allocations: 1.712 MB / 0.5898 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002395/0.7525, allocations: 361 kB / 0.5902 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.754, allocations: 0.9913 MB / 0.5912 GB, free: 3.66 MB / 462.1 MB Notification: Performance of SimCode: time 1.803e-06/0.754, allocations: 0 / 0.5912 GB, free: 3.66 MB / 462.1 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 0.0, 0.0).