Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusOneLoad",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.0009392/0.0009392, allocations: 91.77 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.001226/0.001226, allocations: 183.3 kB / 16.59 MB, free: 6.855 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.873/1.873, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06008/0.06008, allocations: 14.17 MB / 285.2 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.000538/0.0005381, allocations: 15.98 kB / 346.9 MB, free: 19.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1374, allocations: 51.11 MB / 398 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005369/0.1428, allocations: 3.712 MB / 401.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004537/0.1474, allocations: 2.25 MB / 404 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1478, allocations: 4 kB / 404 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.1484, allocations: 191.1 kB / 404.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.1507, allocations: 0.8945 MB / 405.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1511, allocations: 199.4 kB / 405.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1525, allocations: 0.8988 MB / 406.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1526, allocations: 61.05 kB / 406.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.153, allocations: 242.8 kB / 406.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1533, allocations: 242.9 kB / 406.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1533, allocations: 12 kB / 406.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.1539, allocations: 227.8 kB / 406.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.154, allocations: 55.64 kB / 407 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1541, allocations: 117.5 kB / 407.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.1548, allocations: 0.5146 MB / 407.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1548, allocations: 0 / 407.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1548, allocations: 4 kB / 407.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1548, allocations: 0 / 407.6 MB, free: 6.965 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00211/0.1569, allocations: 0.8574 MB / 408.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.157, allocations: 20.02 kB / 408.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.547e-05/0.1571, allocations: 70.47 kB / 408.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.1574, allocations: 71.42 kB / 408.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.1581, allocations: 399.5 kB / 409 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1581, allocations: 28.95 kB / 409.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.1581, allocations: 28 kB / 409.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.1587, allocations: 360.9 kB / 409.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1588, allocations: 4 kB / 409.4 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.1588, allocations: 12 kB / 409.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1588, allocations: 12 kB / 409.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.1593, allocations: 286.4 kB / 409.7 MB, free: 4.711 MB / 302.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.002271/0.1616, allocations: 2.325 MB / 412.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.1625, allocations: 451.6 kB / 412.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1627, allocations: 117.4 kB / 412.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.1627, allocations: 4 kB / 412.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1628, allocations: 34.42 kB / 412.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.823e-06/0.1628, allocations: 0 / 412.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002112/0.1649, allocations: 0.7444 MB / 413.4 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.165, allocations: 55.41 kB / 413.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.1653, allocations: 309.7 kB / 413.8 MB, free: 324 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1654, allocations: 37.64 kB / 413.8 MB, free: 280 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1656, allocations: 212.2 kB / 414 MB, free: 64 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1657, allocations: 122.2 kB / 414.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.1657, allocations: 7.938 kB / 414.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1659, allocations: 346.8 kB / 414.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.166, allocations: 83.97 kB / 414.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1662, allocations: 140.7 kB / 414.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1664, allocations: 111.5 kB / 414.8 MB, free: 15.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1664, allocations: 0 / 414.8 MB, free: 15.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008966/0.1673, allocations: 446.5 kB / 415.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1674, allocations: 4 kB / 415.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1674, allocations: 3.938 kB / 415.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/0.168, allocations: 144.8 kB / 415.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1683, allocations: 75.95 kB / 415.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.1712, allocations: 2.023 MB / 417.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.1715, allocations: 23.84 kB / 417.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1715, allocations: 15.98 kB / 417.5 MB, free: 12.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002368/0.1718, allocations: 169.7 kB / 417.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.1718, allocations: 39.53 kB / 417.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009698/0.1728, allocations: 446.9 kB / 418.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1728, allocations: 4 kB / 418.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1729, allocations: 7.953 kB / 418.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1729, allocations: 3.984 kB / 418.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1744, allocations: 0.9669 MB / 419.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1744, allocations: 0 / 419.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1747, allocations: 59.91 kB / 419.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005585/0.1752, allocations: 144.6 kB / 419.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1753, allocations: 12 kB / 419.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.1776, allocations: 1.98 MB / 421.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1777, allocations: 4.016 kB / 421.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.1791, allocations: 1.236 MB / 422.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1793, allocations: 140.6 kB / 422.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.1793, allocations: 7.938 kB / 422.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1796, allocations: 19.84 kB / 422.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.1796, allocations: 23.97 kB / 422.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1796, allocations: 7.984 kB / 422.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1799, allocations: 223.2 kB / 423 MB, free: 6.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1799, allocations: 0 / 423 MB, free: 6.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007223/0.1806, allocations: 144 kB / 423.1 MB, free: 6.465 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 (24): * Single equations (assignments): 23 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.1819, allocations: 1.083 MB / 424.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.1827, allocations: 422.8 kB / 424.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1827, allocations: 0 / 424.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.1832, allocations: 322.5 kB / 424.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.1836, allocations: 57.27 kB / 425 MB, free: 4.539 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.00367/0.1873, allocations: 2.301 MB / 427.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1877, allocations: 0.8078 MB / 428.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.1879, allocations: 46.94 kB / 428.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.1881, allocations: 111.4 kB / 428.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1881, allocations: 0 / 428.3 MB, free: 1.176 MB / 318.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 577.3502691896258, 0.0).