Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_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.0009049/0.0009049, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001076/0.001076, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06381/0.06381, allocations: 14.18 MB / 284.6 MB, free: 7.133 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.0005007/0.0005007, allocations: 16 kB / 346.3 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09558, allocations: 51.12 MB / 397.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.006096/0.1017, allocations: 6.444 MB / 403.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.107, allocations: 3.248 MB / 407.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.1076, allocations: 15.94 kB / 407.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.1084, allocations: 306.4 kB / 407.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.1113, allocations: 1.247 MB / 408.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.1122, allocations: 478 kB / 409.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1144, allocations: 1.743 MB / 410.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.1147, allocations: 122.4 kB / 411 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008087/0.1156, allocations: 461.7 kB / 411.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008413/0.1164, allocations: 0.4978 MB / 411.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.1166, allocations: 24 kB / 411.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/0.1175, allocations: 339.7 kB / 412.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1177, allocations: 107.3 kB / 412.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.1181, allocations: 213.2 kB / 412.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1193, allocations: 0.9937 MB / 413.6 MB, free: 368 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1193, allocations: 0 / 413.6 MB, free: 368 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1193, allocations: 0 / 413.6 MB, free: 368 kB / 302.1 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.1194, allocations: 0 / 413.6 MB, free: 368 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.004647/0.124, allocations: 1.481 MB / 415.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1241, allocations: 16 kB / 415.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.1243, allocations: 118.5 kB / 415.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005876/0.1249, allocations: 146.7 kB / 415.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1261, allocations: 0.6093 MB / 415.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.1261, allocations: 54 kB / 416 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.499e-05/0.1262, allocations: 72 kB / 416.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1274, allocations: 0.7553 MB / 416.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1275, allocations: 0 / 416.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.1275, allocations: 28 kB / 416.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1275, allocations: 20 kB / 416.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.1287, allocations: 0.6713 MB / 417.5 MB, free: 12.25 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.004805/0.1335, allocations: 4.772 MB / 422.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1352, allocations: 0.9399 MB / 423.3 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.1356, allocations: 287.1 kB / 423.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.1357, allocations: 12.59 kB / 423.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1357, allocations: 43.16 kB / 423.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.555e-06/0.1357, allocations: 0 / 423.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004823/0.1405, allocations: 1.701 MB / 425.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1406, allocations: 60.06 kB / 425.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.1412, allocations: 0.4991 MB / 425.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.1413, allocations: 37.7 kB / 425.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.1415, allocations: 351.9 kB / 426.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.1418, allocations: 272.1 kB / 426.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1418, allocations: 16 kB / 426.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1419, allocations: 374.7 kB / 426.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.1423, allocations: 213.9 kB / 427.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.1427, allocations: 343.7 kB / 427.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.1432, allocations: 263 kB / 427.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1432, allocations: 0 / 427.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001816/0.145, allocations: 0.9505 MB / 428.6 MB, free: 480 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.145, allocations: 8.375 kB / 428.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1451, allocations: 8 kB / 428.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.1461, allocations: 303.2 kB / 428.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1662/0.3124, allocations: 162.3 kB / 429.1 MB, free: 36.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.3167, allocations: 3.075 MB / 432.2 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.3173, allocations: 58.56 kB / 432.2 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.3174, allocations: 34.33 kB / 432.3 MB, free: 34.92 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.0003459/0.3178, allocations: 223.8 kB / 432.5 MB, free: 34.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3179, allocations: 75.09 kB / 432.6 MB, free: 34.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.3196, allocations: 0.8844 MB / 433.4 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3196, allocations: 12.34 kB / 433.5 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3196, allocations: 0 / 433.5 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3196, allocations: 4.078 kB / 433.5 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.3225, allocations: 1.807 MB / 435.3 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3225, allocations: 0.5625 kB / 435.3 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.323, allocations: 133.2 kB / 435.4 MB, free: 33.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009206/0.3239, allocations: 295.7 kB / 435.7 MB, free: 33.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.324, allocations: 15.28 kB / 435.7 MB, free: 33.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.3277, allocations: 2.979 MB / 438.7 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3277, allocations: 1.188 kB / 438.7 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3293, allocations: 0.9512 MB / 439.6 MB, free: 30.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.3296, allocations: 201.3 kB / 439.8 MB, free: 30.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.3297, allocations: 13.81 kB / 439.8 MB, free: 30.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.33, allocations: 30.11 kB / 439.9 MB, free: 30.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.3301, allocations: 57.23 kB / 439.9 MB, free: 30.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.3302, allocations: 16.62 kB / 439.9 MB, free: 30.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004175/0.3306, allocations: 351.1 kB / 440.3 MB, free: 30.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3306, allocations: 1.219 kB / 440.3 MB, free: 30.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008685/0.3315, allocations: 294.3 kB / 440.6 MB, free: 30.45 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.001872/0.3334, allocations: 1.549 MB / 442.1 MB, free: 29.44 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.001703/0.3351, allocations: 0.8508 MB / 443 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3351, allocations: 4.125 kB / 443 MB, free: 29.04 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.000864/0.336, allocations: 0.5655 MB / 443.5 MB, free: 28.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.3365, allocations: 85.31 kB / 443.6 MB, free: 28.68 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.006705/0.3432, allocations: 4.046 MB / 447.7 MB, free: 26.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.3437, allocations: 0.9421 MB / 448.6 MB, free: 25.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.3441, allocations: 83.3 kB / 448.7 MB, free: 25.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.3444, allocations: 255.3 kB / 448.9 MB, free: 25.56 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3444, allocations: 0 / 448.9 MB, free: 25.56 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).