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.0008178/0.0008231, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008185/0.0008187, allocations: 172.7 kB / 15.95 MB, free: 208 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05808/0.05808, allocations: 14.17 MB / 284.6 MB, free: 7.129 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.0004886/0.0004887, allocations: 16 kB / 346.3 MB, free: 19.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08712/0.08762, allocations: 51.11 MB / 397.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.006218/0.09387, allocations: 6.459 MB / 403.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.09911, allocations: 3.236 MB / 407.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.09976, allocations: 19.94 kB / 407.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.1006, allocations: 306.4 kB / 407.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.1036, allocations: 1.252 MB / 408.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008361/0.1044, allocations: 478 kB / 409.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1065, allocations: 1.742 MB / 410.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.1068, allocations: 114.4 kB / 411 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.1073, allocations: 469.7 kB / 411.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.1079, allocations: 0.4939 MB / 411.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.1079, allocations: 24 kB / 411.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008003/0.1087, allocations: 351.7 kB / 412.3 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.1088, allocations: 103.4 kB / 412.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.109, allocations: 205.2 kB / 412.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.11, allocations: 0.9937 MB / 413.6 MB, free: 352 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.11, allocations: 0 / 413.6 MB, free: 352 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.11, allocations: 4 kB / 413.6 MB, free: 348 kB / 302.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.11, allocations: 0 / 413.6 MB, free: 348 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.003804/0.1138, allocations: 1.481 MB / 415.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1139, allocations: 12.02 kB / 415.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.114, allocations: 114.5 kB / 415.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/0.1145, allocations: 150.8 kB / 415.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/0.1155, allocations: 0.6209 MB / 416 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.1155, allocations: 50 kB / 416 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.1156, allocations: 72 kB / 416.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1167, allocations: 0.7475 MB / 416.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.1167, allocations: 0 / 416.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.1168, allocations: 32 kB / 416.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1168, allocations: 20 kB / 416.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009957/0.1178, allocations: 0.6713 MB / 417.6 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.004125/0.1219, allocations: 4.809 MB / 422.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.1234, allocations: 0.9282 MB / 423.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.1238, allocations: 303 kB / 423.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.1238, allocations: 8.656 kB / 423.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1239, allocations: 39.22 kB / 423.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 3.116e-06/0.1239, allocations: 0 / 423.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004348/0.1282, allocations: 1.643 MB / 425.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1283, allocations: 64.06 kB / 425.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.1289, allocations: 495 kB / 425.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.1289, allocations: 41.64 kB / 425.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.1292, allocations: 355.9 kB / 426.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.1294, allocations: 272.1 kB / 426.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1294, allocations: 19.94 kB / 426.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1296, allocations: 378.7 kB / 426.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.1299, allocations: 205.9 kB / 427.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.1303, allocations: 330 kB / 427.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.1307, allocations: 259 kB / 427.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1307, allocations: 0 / 427.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001609/0.1323, allocations: 0.935 MB / 428.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1324, allocations: 8 kB / 428.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1324, allocations: 4 kB / 428.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/0.1334, allocations: 313.1 kB / 428.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.1339, allocations: 163.8 kB / 429.1 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1698/0.3038, allocations: 3.047 MB / 432.1 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.3045, allocations: 55.72 kB / 432.2 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.3045, allocations: 24.2 kB / 432.2 MB, free: 35.05 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.000333/0.3049, allocations: 224.3 kB / 432.4 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.305, allocations: 76.56 kB / 432.5 MB, free: 34.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.3068, allocations: 0.8804 MB / 433.4 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3068, allocations: 7.312 kB / 433.4 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3068, allocations: 0 / 433.4 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3068, allocations: 4.578 kB / 433.4 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.3098, allocations: 1.787 MB / 435.2 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3098, allocations: 0 / 435.2 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.3104, allocations: 132.4 kB / 435.3 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.3115, allocations: 293.7 kB / 435.6 MB, free: 33.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.3116, allocations: 15.97 kB / 435.6 MB, free: 33.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/0.3159, allocations: 2.997 MB / 438.6 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.316, allocations: 0 / 438.6 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3175, allocations: 0.9357 MB / 439.5 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.3178, allocations: 201.2 kB / 439.7 MB, free: 30.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.3179, allocations: 11.69 kB / 439.7 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.3182, allocations: 40.62 kB / 439.8 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3183, allocations: 56.98 kB / 439.8 MB, free: 30.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.3184, allocations: 17.86 kB / 439.8 MB, free: 30.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00045/0.3188, allocations: 340.9 kB / 440.2 MB, free: 30.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3188, allocations: 0 / 440.2 MB, free: 30.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009755/0.3198, allocations: 293.6 kB / 440.5 MB, free: 30.63 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.001866/0.3217, allocations: 1.544 MB / 442 MB, free: 29.62 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.001768/0.3235, allocations: 0.8689 MB / 442.9 MB, free: 29.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3235, allocations: 0 / 442.9 MB, free: 29.22 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.0009597/0.3245, allocations: 0.5925 MB / 443.5 MB, free: 28.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.3251, allocations: 85.64 kB / 443.5 MB, free: 28.87 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.006169/0.3313, allocations: 4.009 MB / 447.6 MB, free: 26.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.3318, allocations: 0.9433 MB / 448.5 MB, free: 26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003818/0.3321, allocations: 76.5 kB / 448.6 MB, free: 25.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.3324, allocations: 253.1 kB / 448.8 MB, free: 25.78 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3324, allocations: 5.375 kB / 448.8 MB, free: 25.78 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).