Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.001148/0.001148, allocations: 95.33 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.001164/0.001164, allocations: 179.1 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.686/1.686, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06034/0.06034, allocations: 14.17 MB / 285.2 MB, free: 7.148 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.0005407/0.0005407, allocations: 24.16 kB / 346.9 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1257, allocations: 51.11 MB / 398 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.006365/0.1321, allocations: 5.896 MB / 403.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00557/0.1377, allocations: 3.191 MB / 407.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.1384, allocations: 27.88 kB / 407.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008907/0.1393, allocations: 298.5 kB / 407.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.1426, allocations: 1.329 MB / 408.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/0.1434, allocations: 481.9 kB / 409.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.1457, allocations: 1.306 MB / 410.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.146, allocations: 118.3 kB / 410.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.1466, allocations: 0.4904 MB / 411.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.1472, allocations: 490.1 kB / 411.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.1473, allocations: 24 kB / 411.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008831/0.1482, allocations: 335.6 kB / 411.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1483, allocations: 107.4 kB / 412 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.1485, allocations: 209.3 kB / 412.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.1496, allocations: 0.9665 MB / 413.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1497, allocations: 0 / 413.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.61e-06/0.1497, allocations: 0 / 413.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1497, allocations: 7.875 kB / 413.2 MB, free: 1.367 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.004403/0.1541, allocations: 1.473 MB / 414.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1542, allocations: 12.02 kB / 414.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.1543, allocations: 118.5 kB / 414.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.1548, allocations: 146.8 kB / 415 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.1559, allocations: 0.6209 MB / 415.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.1559, allocations: 58 kB / 415.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.156, allocations: 68 kB / 415.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.1571, allocations: 0.7475 MB / 416.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1572, allocations: 0 / 416.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.1572, allocations: 32 kB / 416.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.1573, allocations: 20 kB / 416.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1583, allocations: 0.6674 MB / 417.2 MB, free: 13.27 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.005298/0.1636, allocations: 4.809 MB / 422 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1653, allocations: 0.9399 MB / 422.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.1653, allocations: 8.656 kB / 422.9 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1654, allocations: 43.22 kB / 423 MB, free: 6.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.856e-06/0.1654, allocations: 0 / 423 MB, free: 6.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004373/0.1698, allocations: 1.526 MB / 424.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1698, allocations: 60.06 kB / 424.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.1704, allocations: 0.4951 MB / 425 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.1705, allocations: 33.7 kB / 425.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.1708, allocations: 359.9 kB / 425.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.171, allocations: 264.1 kB / 425.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1711, allocations: 16 kB / 425.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.1713, allocations: 386.7 kB / 426.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1716, allocations: 201.9 kB / 426.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.172, allocations: 326 kB / 426.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.1725, allocations: 263 kB / 426.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1725, allocations: 4 kB / 426.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001747/0.1742, allocations: 0.9311 MB / 427.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1743, allocations: 4 kB / 427.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1743, allocations: 4.312 kB / 427.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.1754, allocations: 299.2 kB / 428.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.176, allocations: 163.8 kB / 428.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2399/0.4159, allocations: 3.114 MB / 431.4 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.4167, allocations: 55.14 kB / 431.4 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.4167, allocations: 26.5 kB / 431.4 MB, free: 34.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0003322/0.417, allocations: 218.2 kB / 431.7 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4172, allocations: 79.03 kB / 431.7 MB, free: 34.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.419, allocations: 0.8808 MB / 432.6 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4191, allocations: 7.688 kB / 432.6 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4191, allocations: 0.7656 kB / 432.6 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4191, allocations: 5.312 kB / 432.6 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.4219, allocations: 1.796 MB / 434.4 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4219, allocations: 0 / 434.4 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.4224, allocations: 125.2 kB / 434.5 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.4235, allocations: 294.4 kB / 434.8 MB, free: 33.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.4235, allocations: 14.38 kB / 434.8 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.4274, allocations: 3.046 MB / 437.9 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4274, allocations: 7.891 kB / 437.9 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.4298, allocations: 1.854 MB / 439.7 MB, free: 30.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.43, allocations: 211.5 kB / 440 MB, free: 30.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/0.4301, allocations: 10.41 kB / 440 MB, free: 30.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.4305, allocations: 25.78 kB / 440 MB, free: 30.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4306, allocations: 54.12 kB / 440 MB, free: 30.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.4307, allocations: 20.94 kB / 440.1 MB, free: 30.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000426/0.4311, allocations: 344 kB / 440.4 MB, free: 30.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4311, allocations: 0 / 440.4 MB, free: 30.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001137/0.4323, allocations: 300.2 kB / 440.7 MB, free: 30.03 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.001956/0.4342, allocations: 1.557 MB / 442.3 MB, free: 29.02 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.001588/0.4358, allocations: 0.8415 MB / 443.1 MB, free: 28.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4358, allocations: 0 / 443.1 MB, free: 28.63 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.001001/0.4368, allocations: 0.572 MB / 443.7 MB, free: 28.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.4373, allocations: 71.31 kB / 443.7 MB, free: 28.29 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.007354/0.4447, allocations: 6.123 MB / 449.9 MB, free: 24.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.4452, allocations: 0.9794 MB / 450.8 MB, free: 23.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.4456, allocations: 84.47 kB / 450.9 MB, free: 23.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.4459, allocations: 255.7 kB / 451.2 MB, free: 23.11 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4459, allocations: 3.062 kB / 451.2 MB, free: 23.11 MB / 318.1 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 577.3502691896258, 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).