Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.0009134/0.0009133, allocations: 92.62 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.001442/0.001442, allocations: 176.2 kB / 16.58 MB, free: 6.402 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.762/1.762, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06361/0.06361, allocations: 14.16 MB / 285.2 MB, free: 7.125 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.0005039/0.0005039, allocations: 16 kB / 346.9 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 51.11 MB / 398 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.007459/0.1237, allocations: 6.448 MB / 404.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006794/0.1306, allocations: 3.248 MB / 407.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.1314, allocations: 15.94 kB / 407.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1325, allocations: 310.4 kB / 408 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.1358, allocations: 1.248 MB / 409.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.1368, allocations: 485.4 kB / 409.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.1397, allocations: 1.751 MB / 411.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.14, allocations: 110.4 kB / 411.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.1406, allocations: 469.7 kB / 412.1 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.1412, allocations: 497.8 kB / 412.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.1413, allocations: 24 kB / 412.6 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009569/0.1423, allocations: 355.7 kB / 412.9 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1424, allocations: 103.4 kB / 413 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.1426, allocations: 209.2 kB / 413.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1437, allocations: 0.9937 MB / 414.2 MB, free: 340 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1437, allocations: 0 / 414.2 MB, free: 340 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1437, allocations: 0 / 414.2 MB, free: 340 kB / 302.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1437, allocations: 0 / 414.2 MB, free: 340 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.004409/0.1482, allocations: 1.477 MB / 415.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1482, allocations: 12.02 kB / 415.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.1484, allocations: 118.4 kB / 415.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.149, allocations: 146.8 kB / 416 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.15, allocations: 0.617 MB / 416.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.1501, allocations: 58 kB / 416.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.1501, allocations: 72 kB / 416.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1513, allocations: 0.7475 MB / 417.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1514, allocations: 4 kB / 417.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.1514, allocations: 24 kB / 417.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1514, allocations: 20 kB / 417.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1525, allocations: 0.6714 MB / 418.2 MB, free: 12.23 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.004958/0.1575, allocations: 4.805 MB / 423 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.1591, allocations: 0.9438 MB / 423.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.1595, allocations: 291.2 kB / 424.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.088e-05/0.1596, allocations: 12.66 kB / 424.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1597, allocations: 43.16 kB / 424.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.388e-05/0.1597, allocations: 0 / 424.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004562/0.1643, allocations: 1.639 MB / 425.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1643, allocations: 64.05 kB / 426 MB, free: 3.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.1649, allocations: 495 kB / 426.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.1649, allocations: 45.64 kB / 426.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.1652, allocations: 359.8 kB / 426.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.1655, allocations: 268.1 kB / 427.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.1655, allocations: 12 kB / 427.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1657, allocations: 382.7 kB / 427.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.166, allocations: 201.9 kB / 427.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.1665, allocations: 330.1 kB / 428 MB, free: 1.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.1669, allocations: 266.9 kB / 428.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1669, allocations: 0 / 428.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001713/0.1686, allocations: 0.9314 MB / 429.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.1687, allocations: 8 kB / 429.2 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1687, allocations: 4 kB / 429.2 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.1697, allocations: 304.8 kB / 429.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.1703, allocations: 167.8 kB / 429.7 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2585/0.4289, allocations: 3.049 MB / 432.7 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.4296, allocations: 54.23 kB / 432.8 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.4297, allocations: 32.84 kB / 432.8 MB, free: 34.94 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0003796/0.4301, allocations: 222.1 kB / 433 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4302, allocations: 76.17 kB / 433.1 MB, free: 34.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.4321, allocations: 0.8755 MB / 434 MB, free: 34.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4321, allocations: 7.562 kB / 434 MB, free: 34.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4321, allocations: 1.781 kB / 434 MB, free: 34.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.4322, allocations: 3.328 kB / 434 MB, free: 34.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.4352, allocations: 1.788 MB / 435.8 MB, free: 33.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4352, allocations: 0 / 435.8 MB, free: 33.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.4358, allocations: 130.1 kB / 435.9 MB, free: 33.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009911/0.4368, allocations: 302.4 kB / 436.2 MB, free: 33.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.4369, allocations: 11.78 kB / 436.2 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.4408, allocations: 2.995 MB / 439.2 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4409, allocations: 0 / 439.2 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.4435, allocations: 1.861 MB / 441.1 MB, free: 30.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.4438, allocations: 200 kB / 441.3 MB, free: 30 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.4439, allocations: 15.12 kB / 441.3 MB, free: 29.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.4443, allocations: 32.81 kB / 441.3 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4444, allocations: 53.11 kB / 441.4 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.4445, allocations: 21.88 kB / 441.4 MB, free: 29.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004923/0.445, allocations: 341.8 kB / 441.7 MB, free: 29.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.445, allocations: 0 / 441.7 MB, free: 29.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4464, allocations: 299.9 kB / 442 MB, free: 29.76 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002033/0.4484, allocations: 1.546 MB / 443.6 MB, free: 28.75 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.001885/0.4503, allocations: 0.8745 MB / 444.4 MB, free: 28.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4504, allocations: 0 / 444.4 MB, free: 28.35 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.001008/0.4514, allocations: 0.5918 MB / 445 MB, free: 28.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.4521, allocations: 80.98 kB / 445.1 MB, free: 28 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.007992/0.4601, allocations: 4.409 MB / 449.5 MB, free: 25.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.4607, allocations: 0.9606 MB / 450.5 MB, free: 24.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004343/0.4611, allocations: 85.47 kB / 450.6 MB, free: 24.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.4614, allocations: 253.5 kB / 450.8 MB, free: 24.6 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4614, allocations: 0 / 450.8 MB, free: 24.6 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). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, -577.3502691896258, 0.0).