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.001097/0.001097, 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.001935/0.001935, allocations: 179.9 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.789/1.789, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05785/0.05785, allocations: 14.16 MB / 285.2 MB, free: 7.152 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.0005297/0.0005297, allocations: 12.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 51.12 MB / 398 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.006242/0.1233, allocations: 5.888 MB / 403.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.1286, allocations: 3.198 MB / 407.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006392/0.1293, allocations: 15.94 kB / 407.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.1301, allocations: 306.4 kB / 407.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.1335, allocations: 1.326 MB / 408.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.1345, allocations: 493.8 kB / 409.2 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002535/0.137, allocations: 1.283 MB / 410.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.1373, allocations: 110.3 kB / 410.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007541/0.138, allocations: 498.2 kB / 411.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.1386, allocations: 486.1 kB / 411.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.1387, allocations: 24 kB / 411.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1397, allocations: 343.5 kB / 411.9 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.1398, allocations: 103.5 kB / 412 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.14, allocations: 201.3 kB / 412.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009807/0.141, allocations: 0.9781 MB / 413.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.141, allocations: 0 / 413.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.141, allocations: 4 kB / 413.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.141, allocations: 0 / 413.2 MB, free: 1.41 MB / 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.004312/0.1453, allocations: 1.477 MB / 414.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.1454, allocations: 16.02 kB / 414.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.1456, allocations: 114.5 kB / 414.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.1461, allocations: 150.7 kB / 414.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1472, allocations: 0.621 MB / 415.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.1473, allocations: 50 kB / 415.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/0.1473, allocations: 72 kB / 415.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1485, allocations: 0.7398 MB / 416.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1485, allocations: 7.922 kB / 416.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.1486, allocations: 32 kB / 416.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1486, allocations: 20 kB / 416.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1497, allocations: 0.6674 MB / 417.1 MB, free: 13.3 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.004733/0.1544, allocations: 4.768 MB / 421.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.1561, allocations: 0.9554 MB / 422.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.1562, allocations: 12.64 kB / 422.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1562, allocations: 39.22 kB / 422.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.003e-06/0.1562, allocations: 0 / 422.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004831/0.161, allocations: 1.612 MB / 424.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.1611, allocations: 60.06 kB / 424.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.1617, allocations: 0.4991 MB / 425.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.1618, allocations: 37.7 kB / 425.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.1621, allocations: 355.9 kB / 425.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.1623, allocations: 272.1 kB / 425.7 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1624, allocations: 12 kB / 425.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.1626, allocations: 378.7 kB / 426.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.1629, allocations: 213.9 kB / 426.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.1634, allocations: 335.7 kB / 426.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.1638, allocations: 270.9 kB / 426.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1639, allocations: 4 kB / 426.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001794/0.1657, allocations: 0.9389 MB / 427.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1657, allocations: 8.375 kB / 427.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1657, allocations: 8 kB / 427.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.1668, allocations: 307.1 kB / 428.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.1674, allocations: 167.8 kB / 428.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2131/0.3806, allocations: 3.174 MB / 431.5 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.3813, allocations: 52.03 kB / 431.6 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3814, allocations: 26.53 kB / 431.6 MB, free: 34.72 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.000382/0.3818, allocations: 218.2 kB / 431.8 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.3819, allocations: 77.88 kB / 431.9 MB, free: 34.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.3839, allocations: 0.8929 MB / 432.8 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.384, allocations: 8.719 kB / 432.8 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.384, allocations: 0.7656 kB / 432.8 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.384, allocations: 3.891 kB / 432.8 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.3869, allocations: 1.813 MB / 434.6 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.387, allocations: 0 / 434.6 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.3875, allocations: 128.9 kB / 434.7 MB, free: 33.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.3886, allocations: 297.5 kB / 435 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.3886, allocations: 12.19 kB / 435 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004089/0.3927, allocations: 3.072 MB / 438.1 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3928, allocations: 7.141 kB / 438.1 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.3953, allocations: 1.873 MB / 440 MB, free: 30.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.3957, allocations: 205 kB / 440.2 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.3958, allocations: 11.44 kB / 440.2 MB, free: 30.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.3962, allocations: 38.42 kB / 440.2 MB, free: 30.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3963, allocations: 51.83 kB / 440.3 MB, free: 30.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.3964, allocations: 17.06 kB / 440.3 MB, free: 30.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.3969, allocations: 352.9 kB / 440.6 MB, free: 29.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 0 / 440.6 MB, free: 29.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3982, allocations: 300.2 kB / 440.9 MB, free: 29.9 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.002186/0.4004, allocations: 1.555 MB / 442.5 MB, free: 28.89 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.002056/0.4025, allocations: 0.8493 MB / 443.3 MB, free: 28.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4025, allocations: 0 / 443.3 MB, free: 28.5 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.001158/0.4036, allocations: 0.5661 MB / 443.9 MB, free: 28.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.4043, allocations: 74.91 kB / 444 MB, free: 28.16 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.007765/0.412, allocations: 6.478 MB / 450.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.4125, allocations: 0.973 MB / 451.4 MB, free: 22.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.4129, allocations: 83.67 kB / 451.5 MB, free: 22.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.4132, allocations: 251.6 kB / 451.8 MB, free: 22.64 MB / 318.1 MB Notification: Performance of SimCode: time 1.914e-06/0.4132, allocations: 1.375 kB / 451.8 MB, free: 22.64 MB / 318.1 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 1154.700538379252, 0.0). [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, -577.3502691896258, 0.0).