Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_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.001011/0.00101, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009908/0.0009908, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05876/0.05876, allocations: 14.16 MB / 284.5 MB, free: 7.027 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.0005159/0.000516, allocations: 16.22 kB / 346.2 MB, free: 19.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1163, allocations: 51.12 MB / 397.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.005998/0.1223, allocations: 5.888 MB / 403.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.128, allocations: 3.202 MB / 406.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.1287, allocations: 15.94 kB / 406.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009299/0.1297, allocations: 306.4 kB / 406.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.1331, allocations: 1.324 MB / 408.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.134, allocations: 494.2 kB / 408.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.1366, allocations: 1.294 MB / 409.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.1368, allocations: 122.4 kB / 410 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008168/0.1377, allocations: 498.2 kB / 410.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.1382, allocations: 486.1 kB / 410.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.1383, allocations: 28 kB / 411 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009865/0.1393, allocations: 339.5 kB / 411.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1394, allocations: 103.5 kB / 411.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1396, allocations: 205.3 kB / 411.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1408, allocations: 0.9743 MB / 412.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1408, allocations: 0 / 412.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1408, allocations: 0 / 412.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.1409, allocations: 0 / 412.6 MB, free: 1.371 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.004625/0.1455, allocations: 1.473 MB / 414 MB, free: 15.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.1456, allocations: 16.02 kB / 414.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.1458, allocations: 122.5 kB / 414.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005953/0.1464, allocations: 138.8 kB / 414.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1475, allocations: 0.6248 MB / 414.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.1476, allocations: 58 kB / 415 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/0.1477, allocations: 64 kB / 415.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1489, allocations: 0.7476 MB / 415.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1489, allocations: 7.938 kB / 415.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.149, allocations: 28 kB / 415.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.149, allocations: 20 kB / 415.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1502, allocations: 0.6674 MB / 416.5 MB, free: 13.27 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.006138/0.1564, allocations: 4.801 MB / 421.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.158, allocations: 0.9438 MB / 422.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.158, allocations: 8.656 kB / 422.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1581, allocations: 43.22 kB / 422.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.515e-06/0.1581, allocations: 0 / 422.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004471/0.1626, allocations: 1.526 MB / 423.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1626, allocations: 60.06 kB / 423.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.1633, allocations: 0.4912 MB / 424.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.1633, allocations: 45.64 kB / 424.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.1637, allocations: 351.9 kB / 424.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.1639, allocations: 272.1 kB / 425 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.164, allocations: 16 kB / 425.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1642, allocations: 378.7 kB / 425.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1645, allocations: 205.9 kB / 425.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1649, allocations: 326 kB / 426 MB, free: 3.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.1653, allocations: 263 kB / 426.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1653, allocations: 0 / 426.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001753/0.1671, allocations: 0.935 MB / 427.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1671, allocations: 8 kB / 427.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1671, allocations: 0 / 427.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.1682, allocations: 313.1 kB / 427.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.1688, allocations: 163.8 kB / 427.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2621/0.431, allocations: 3.139 MB / 430.8 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.4318, allocations: 55.88 kB / 430.8 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.4319, allocations: 27.42 kB / 430.8 MB, free: 34.85 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.0003842/0.4323, allocations: 219.4 kB / 431.1 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4324, allocations: 79.64 kB / 431.1 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.4346, allocations: 0.8792 MB / 432 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4346, allocations: 7.688 kB / 432 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4346, allocations: 0.7969 kB / 432 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4347, allocations: 4.672 kB / 432 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.4378, allocations: 1.794 MB / 433.8 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4378, allocations: 0 / 433.8 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.4384, allocations: 129 kB / 433.9 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.4395, allocations: 299.2 kB / 434.2 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.4395, allocations: 12.94 kB / 434.2 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004363/0.4439, allocations: 3.084 MB / 437.3 MB, free: 31.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4439, allocations: 3.953 kB / 437.3 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.4458, allocations: 0.9332 MB / 438.3 MB, free: 31.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.4461, allocations: 203.1 kB / 438.5 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.4462, allocations: 18.11 kB / 438.5 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.4466, allocations: 35.14 kB / 438.5 MB, free: 31.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.4468, allocations: 52.88 kB / 438.6 MB, free: 31.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.4468, allocations: 15.58 kB / 438.6 MB, free: 31.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000599/0.4474, allocations: 341.7 kB / 438.9 MB, free: 30.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4474, allocations: 1.125 kB / 438.9 MB, free: 30.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001471/0.4489, allocations: 298.1 kB / 439.2 MB, free: 30.93 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.002497/0.4514, allocations: 1.541 MB / 440.8 MB, free: 29.92 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.002145/0.4536, allocations: 0.8691 MB / 441.6 MB, free: 29.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4536, allocations: 3.844 kB / 441.6 MB, free: 29.53 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.001476/0.4551, allocations: 0.5892 MB / 442.2 MB, free: 29.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.4556, allocations: 74.31 kB / 442.3 MB, free: 29.19 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.009835/0.4655, allocations: 5.719 MB / 448 MB, free: 25.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.4665, allocations: 0.9629 MB / 449 MB, free: 24.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.467, allocations: 83.47 kB / 449.1 MB, free: 24.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.4674, allocations: 253.8 kB / 449.3 MB, free: 24.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4674, allocations: 0 / 449.3 MB, free: 24.34 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).