Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.0009643/0.0009643, 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.001162/0.001162, 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.577/1.577, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05643/0.05643, allocations: 14.16 MB / 285.2 MB, free: 7.16 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.000519/0.0005191, allocations: 16.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 51.11 MB / 398 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.006389/0.117, allocations: 5.989 MB / 404 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.123, allocations: 3.21 MB / 407.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008593/0.1239, allocations: 15.94 kB / 407.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009978/0.1249, allocations: 310.4 kB / 407.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.1288, allocations: 1.346 MB / 408.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.1298, allocations: 485 kB / 409.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.1324, allocations: 1.321 MB / 410.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.1327, allocations: 110.4 kB / 410.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.1335, allocations: 0.5021 MB / 411.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/0.1341, allocations: 0.4903 MB / 411.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.1342, allocations: 24 kB / 411.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1353, allocations: 335.6 kB / 412.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.1354, allocations: 103.5 kB / 412.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.1356, allocations: 213.2 kB / 412.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1368, allocations: 0.9976 MB / 413.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1368, allocations: 0 / 413.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1368, allocations: 4 kB / 413.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.1369, allocations: 0 / 413.4 MB, free: 1.184 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00466/0.1415, allocations: 1.512 MB / 414.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.1416, allocations: 12.02 kB / 414.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.1418, allocations: 122.6 kB / 415 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.1424, allocations: 146.7 kB / 415.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1435, allocations: 0.6287 MB / 415.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1436, allocations: 54 kB / 415.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/0.1437, allocations: 72 kB / 415.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.1449, allocations: 0.7576 MB / 416.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1449, allocations: 3.938 kB / 416.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.145, allocations: 35.98 kB / 416.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.145, allocations: 20 kB / 416.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.1462, allocations: 0.6987 MB / 417.5 MB, free: 12.99 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.004968/0.1512, allocations: 4.707 MB / 422.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.1529, allocations: 0.9588 MB / 423.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.153, allocations: 8.656 kB / 423.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.1531, allocations: 43.2 kB / 423.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.1531, allocations: 0 / 423.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.00302/0.1561, allocations: 1.23 MB / 424.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1562, allocations: 60.06 kB / 424.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.1568, allocations: 0.4911 MB / 424.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1569, allocations: 37.7 kB / 425 MB, free: 4.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.1572, allocations: 367.8 kB / 425.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.1574, allocations: 268.1 kB / 425.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1575, allocations: 16 kB / 425.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.1577, allocations: 374.7 kB / 426 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.1581, allocations: 221.9 kB / 426.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.1585, allocations: 328.2 kB / 426.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.159, allocations: 271 kB / 426.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.159, allocations: 0 / 426.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001415/0.1604, allocations: 0.8525 MB / 427.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.1604, allocations: 11.98 kB / 427.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1605, allocations: 0 / 427.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.161, allocations: 180.5 kB / 427.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.1619, allocations: 203.7 kB / 428 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2231/0.385, allocations: 2.39 MB / 430.4 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/0.3858, allocations: 52 kB / 430.5 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.3859, allocations: 27.11 kB / 430.5 MB, free: 34.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000407/0.3863, allocations: 223.9 kB / 430.7 MB, free: 34.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3864, allocations: 75.78 kB / 430.8 MB, free: 34.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.3879, allocations: 0.7983 MB / 431.6 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3879, allocations: 10.94 kB / 431.6 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3879, allocations: 2.75 kB / 431.6 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.388, allocations: 4.812 kB / 431.6 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.3905, allocations: 1.73 MB / 433.3 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3906, allocations: 0.75 kB / 433.3 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.3913, allocations: 160.7 kB / 433.5 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/0.3918, allocations: 170.3 kB / 433.7 MB, free: 34.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.3918, allocations: 15.64 kB / 433.7 MB, free: 34.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.3943, allocations: 2.397 MB / 436.1 MB, free: 32.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3943, allocations: 0 / 436.1 MB, free: 32.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.396, allocations: 1.794 MB / 437.9 MB, free: 31.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.3963, allocations: 202.3 kB / 438.1 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.3964, allocations: 11.59 kB / 438.1 MB, free: 31.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3967, allocations: 31.11 kB / 438.1 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.3968, allocations: 58.66 kB / 438.2 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.3969, allocations: 16.44 kB / 438.2 MB, free: 30.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003853/0.3973, allocations: 340.3 kB / 438.5 MB, free: 30.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3973, allocations: 0 / 438.5 MB, free: 30.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009465/0.3982, allocations: 277 kB / 438.8 MB, free: 30.79 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 (63): * Single equations (assignments): 62 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.3997, allocations: 1.467 MB / 440.2 MB, free: 29.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.401, allocations: 0.8034 MB / 441.1 MB, free: 29.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.401, allocations: 0 / 441.1 MB, free: 29.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.4017, allocations: 0.5085 MB / 441.6 MB, free: 29.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.4022, allocations: 79.53 kB / 441.6 MB, free: 29.11 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.006393/0.4086, allocations: 5.767 MB / 447.4 MB, free: 25.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.4091, allocations: 0.9708 MB / 448.4 MB, free: 24.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004343/0.4095, allocations: 92.14 kB / 448.5 MB, free: 24.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.4099, allocations: 268 kB / 448.7 MB, free: 24.27 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4099, allocations: 4 kB / 448.7 MB, free: 24.26 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).