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.00102/0.00102, allocations: 88.17 kB / 15.71 MB, free: 452 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.001507/0.001507, allocations: 179.3 kB / 16.59 MB, free: 6.859 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.803/1.803, allocations: 205.4 MB / 222.8 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.06647/0.06647, allocations: 14.17 MB / 285.2 MB, free: 7.137 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.0005118/0.0005118, allocations: 12 kB / 346.9 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 51.13 MB / 398 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.008271/0.1372, allocations: 6.569 MB / 404.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.1436, allocations: 3.256 MB / 407.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00068/0.1443, allocations: 23.88 kB / 407.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.1452, allocations: 302.5 kB / 408.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.1487, allocations: 1.251 MB / 409.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.1496, allocations: 477.2 kB / 409.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.1521, allocations: 1.766 MB / 411.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.1524, allocations: 122.4 kB / 411.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007039/0.1531, allocations: 473.6 kB / 412.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.1537, allocations: 0.5017 MB / 412.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.1538, allocations: 24 kB / 412.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009255/0.1547, allocations: 351.7 kB / 413.1 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1548, allocations: 107.3 kB / 413.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.155, allocations: 213.2 kB / 413.4 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1562, allocations: 1.009 MB / 414.4 MB, free: 172 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1562, allocations: 0 / 414.4 MB, free: 172 kB / 302.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1563, allocations: 4 kB / 414.4 MB, free: 168 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1563, allocations: 4 kB / 414.4 MB, free: 164 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004441/0.1607, allocations: 1.512 MB / 416 MB, free: 14.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.1608, allocations: 12.02 kB / 416 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.161, allocations: 126.5 kB / 416.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/0.1615, allocations: 146.7 kB / 416.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1626, allocations: 0.6248 MB / 416.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.1627, allocations: 54 kB / 416.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/0.1628, allocations: 72 kB / 417 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.164, allocations: 0.7693 MB / 417.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1641, allocations: 0 / 417.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.1641, allocations: 32 kB / 417.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1641, allocations: 20 kB / 417.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1653, allocations: 0.6948 MB / 418.5 MB, free: 11.97 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.005319/0.1706, allocations: 4.714 MB / 423.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.1723, allocations: 0.9512 MB / 424.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.1728, allocations: 307.8 kB / 424.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.1729, allocations: 8.656 kB / 424.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1729, allocations: 39.22 kB / 424.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 4.027e-06/0.1729, allocations: 0 / 424.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.00272/0.1757, allocations: 1.233 MB / 425.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.1757, allocations: 60.06 kB / 425.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.1763, allocations: 499 kB / 426.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.1764, allocations: 41.7 kB / 426.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.1767, allocations: 359.8 kB / 426.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.1769, allocations: 276.1 kB / 426.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.177, allocations: 16 kB / 427 MB, free: 2.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1772, allocations: 386.6 kB / 427.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.1776, allocations: 213.9 kB / 427.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.178, allocations: 332.3 kB / 427.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.1785, allocations: 259 kB / 428.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1785, allocations: 7.938 kB / 428.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001456/0.18, allocations: 0.8524 MB / 429 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.18, allocations: 8 kB / 429 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.18, allocations: 4.312 kB / 429 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.1806, allocations: 184.2 kB / 429.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.1813, allocations: 195.8 kB / 429.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2323/0.4137, allocations: 2.333 MB / 431.7 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.4145, allocations: 59.67 kB / 431.8 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.4145, allocations: 22.75 kB / 431.8 MB, free: 35.14 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.0004662/0.415, allocations: 220.9 kB / 432 MB, free: 35.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.4152, allocations: 77.28 kB / 432.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.4169, allocations: 0.7975 MB / 432.9 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4169, allocations: 8.688 kB / 432.9 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4169, allocations: 2.031 kB / 432.9 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.4169, allocations: 8.641 kB / 432.9 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.4198, allocations: 1.724 MB / 434.6 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.4198, allocations: 2.141 kB / 434.6 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.4205, allocations: 166.5 kB / 434.8 MB, free: 34.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005107/0.421, allocations: 171.8 kB / 434.9 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.4211, allocations: 11.28 kB / 435 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.4238, allocations: 2.34 MB / 437.3 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4238, allocations: 1.25 kB / 437.3 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.4261, allocations: 1.79 MB / 439.1 MB, free: 31.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.4264, allocations: 204.2 kB / 439.3 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.4265, allocations: 15.11 kB / 439.3 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.4269, allocations: 39.83 kB / 439.3 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.427, allocations: 45.52 kB / 439.4 MB, free: 30.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.4271, allocations: 17.14 kB / 439.4 MB, free: 30.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005005/0.4276, allocations: 340.7 kB / 439.7 MB, free: 30.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4276, allocations: 1.5 kB / 439.7 MB, free: 30.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001336/0.429, allocations: 279.4 kB / 440 MB, free: 30.64 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.001818/0.4308, allocations: 1.466 MB / 441.5 MB, free: 29.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.4324, allocations: 0.8021 MB / 442.3 MB, free: 29.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4324, allocations: 0 / 442.3 MB, free: 29.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.4332, allocations: 0.5084 MB / 442.8 MB, free: 29.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.4339, allocations: 88.25 kB / 442.9 MB, free: 28.96 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.007525/0.4414, allocations: 4.349 MB / 447.2 MB, free: 26.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.442, allocations: 0.9572 MB / 448.2 MB, free: 25.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005152/0.4426, allocations: 86.44 kB / 448.3 MB, free: 25.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.4429, allocations: 267 kB / 448.5 MB, free: 25.58 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4429, allocations: 0 / 448.5 MB, free: 25.58 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).