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.001064/0.001064, allocations: 97.52 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.001138/0.001138, allocations: 177.8 kB / 16.57 MB, free: 6.395 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.608/1.608, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05833/0.05833, allocations: 14.17 MB / 285.2 MB, free: 7.152 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.0005184/0.0005184, allocations: 16.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1243, allocations: 51.11 MB / 398 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.006077/0.1304, allocations: 5.896 MB / 403.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005739/0.1362, allocations: 3.195 MB / 407.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.137, allocations: 15.94 kB / 407.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009541/0.1379, allocations: 310.4 kB / 407.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.1414, allocations: 1.334 MB / 408.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.1423, allocations: 482.5 kB / 409.2 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.1445, allocations: 1.287 MB / 410.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1447, allocations: 118.2 kB / 410.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.1453, allocations: 0.4904 MB / 411.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.1459, allocations: 490.1 kB / 411.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.1459, allocations: 28 kB / 411.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.1467, allocations: 331.6 kB / 411.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.1468, allocations: 107.4 kB / 412 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.147, allocations: 201.3 kB / 412.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009985/0.148, allocations: 0.9743 MB / 413.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.148, allocations: 3.938 kB / 413.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.148, allocations: 0 / 413.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1481, allocations: 0 / 413.2 MB, free: 1.398 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.0042/0.1523, allocations: 1.477 MB / 414.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1523, allocations: 16.02 kB / 414.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.1525, allocations: 118.5 kB / 414.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.153, allocations: 138.8 kB / 414.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.154, allocations: 0.6326 MB / 415.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1541, allocations: 50 kB / 415.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.1542, allocations: 68 kB / 415.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1552, allocations: 0.7398 MB / 416.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1552, allocations: 7.938 kB / 416.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.1553, allocations: 28 kB / 416.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1553, allocations: 20 kB / 416.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.1563, allocations: 0.6674 MB / 417.1 MB, free: 13.3 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.004889/0.1612, allocations: 4.801 MB / 422 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.1628, allocations: 0.9477 MB / 422.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.1628, allocations: 8.656 kB / 422.9 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1629, allocations: 39.22 kB / 422.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.274e-06/0.1629, allocations: 0 / 422.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004339/0.1672, allocations: 1.542 MB / 424.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1673, allocations: 60.06 kB / 424.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.1679, allocations: 495 kB / 425 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.168, allocations: 41.7 kB / 425.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.1683, allocations: 351.9 kB / 425.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.1685, allocations: 272.1 kB / 425.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1686, allocations: 16 kB / 425.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1688, allocations: 378.7 kB / 426.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.1691, allocations: 209.9 kB / 426.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.1695, allocations: 318 kB / 426.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.1699, allocations: 267 kB / 426.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1699, allocations: 0 / 426.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001754/0.1717, allocations: 0.9311 MB / 427.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1717, allocations: 8 kB / 427.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1717, allocations: 3.938 kB / 427.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.1728, allocations: 317.1 kB / 428.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.1735, allocations: 163.8 kB / 428.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2357/0.4092, allocations: 3.135 MB / 431.4 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.4104, allocations: 58.66 kB / 431.4 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.4105, allocations: 26.94 kB / 431.5 MB, free: 34.82 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.0006065/0.4111, allocations: 217.2 kB / 431.7 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.4113, allocations: 74.48 kB / 431.8 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.4142, allocations: 0.8797 MB / 432.6 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.4142, allocations: 6.875 kB / 432.6 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4143, allocations: 3.938 kB / 432.6 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.4143, allocations: 10.36 kB / 432.7 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.4183, allocations: 1.795 MB / 434.5 MB, free: 34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4183, allocations: 1.25 kB / 434.5 MB, free: 34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007429/0.4191, allocations: 123.8 kB / 434.6 MB, free: 34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/0.4205, allocations: 301.5 kB / 434.9 MB, free: 33.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.4205, allocations: 15.3 kB / 434.9 MB, free: 33.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004878/0.4254, allocations: 3.086 MB / 438 MB, free: 31.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4254, allocations: 6.344 kB / 438 MB, free: 31.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.428, allocations: 1.858 MB / 439.8 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.4282, allocations: 196.6 kB / 440 MB, free: 30.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-05/0.4283, allocations: 11.5 kB / 440 MB, free: 30.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.4287, allocations: 33.27 kB / 440.1 MB, free: 30.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4289, allocations: 53.86 kB / 440.1 MB, free: 30.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.4289, allocations: 16.81 kB / 440.1 MB, free: 30.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.4293, allocations: 346.6 kB / 440.5 MB, free: 30.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4293, allocations: 0 / 440.5 MB, free: 30.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001148/0.4305, allocations: 303.3 kB / 440.8 MB, free: 30.14 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.001951/0.4324, allocations: 1.545 MB / 442.3 MB, free: 29.13 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.001666/0.4341, allocations: 0.8704 MB / 443.2 MB, free: 28.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4341, allocations: 0.5 kB / 443.2 MB, free: 28.73 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.4351, allocations: 0.5927 MB / 443.8 MB, free: 28.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4355, allocations: 71.44 kB / 443.9 MB, free: 28.39 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.007313/0.4429, allocations: 6.138 MB / 450 MB, free: 24.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.4435, allocations: 0.9794 MB / 451 MB, free: 23.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.4439, allocations: 79.58 kB / 451 MB, free: 23.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.4442, allocations: 255.1 kB / 451.3 MB, free: 23.22 MB / 318.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4442, allocations: 0 / 451.3 MB, free: 23.22 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).