Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.00108/0.00108, 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.001157/0.001158, allocations: 177.3 kB / 15.95 MB, free: 216 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0607/0.0607, allocations: 14.17 MB / 284.5 MB, free: 7.375 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.0004878/0.0004878, allocations: 16 kB / 346.2 MB, free: 19.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 51.11 MB / 397.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.003751/0.1074, allocations: 3.451 MB / 400.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.1107, allocations: 2.196 MB / 403 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.111, allocations: 8 kB / 403 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.1115, allocations: 194.9 kB / 403.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.1137, allocations: 0.9345 MB / 404.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.1142, allocations: 195 kB / 404.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.1152, allocations: 0.6628 MB / 405 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1154, allocations: 61.05 kB / 405 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.1157, allocations: 263 kB / 405.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.116, allocations: 239.1 kB / 405.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.116, allocations: 12 kB / 405.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1165, allocations: 215.7 kB / 405.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.1166, allocations: 59.69 kB / 405.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1167, allocations: 109.5 kB / 405.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.1173, allocations: 0.499 MB / 406.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1173, allocations: 3.938 kB / 406.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1173, allocations: 4 kB / 406.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1173, allocations: 3.938 kB / 406.4 MB, free: 7.57 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002079/0.1194, allocations: 0.8574 MB / 407.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1194, allocations: 16.02 kB / 407.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.1195, allocations: 74.53 kB / 407.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.1198, allocations: 75.41 kB / 407.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.1204, allocations: 395.5 kB / 407.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1205, allocations: 28.95 kB / 407.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1205, allocations: 28 kB / 407.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.121, allocations: 360.9 kB / 408.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1211, allocations: 0 / 408.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1211, allocations: 16 kB / 408.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1211, allocations: 11.98 kB / 408.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.1216, allocations: 294.4 kB / 408.6 MB, free: 5.309 MB / 302.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.002307/0.1239, allocations: 2.313 MB / 410.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.1248, allocations: 452.2 kB / 411.3 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.1249, allocations: 7.984 kB / 411.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1249, allocations: 35.16 kB / 411.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.1249, allocations: 3.938 kB / 411.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002088/0.127, allocations: 0.717 MB / 412.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1271, allocations: 55.41 kB / 412.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1274, allocations: 309.7 kB / 412.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1275, allocations: 29.7 kB / 412.5 MB, free: 1.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.1277, allocations: 212.2 kB / 412.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.1278, allocations: 126.1 kB / 412.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.1278, allocations: 4 kB / 412.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.128, allocations: 350.8 kB / 413.1 MB, free: 340 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1282, allocations: 83.97 kB / 413.2 MB, free: 256 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1283, allocations: 136.7 kB / 413.3 MB, free: 104 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1285, allocations: 111.5 kB / 413.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1285, allocations: 4 kB / 413.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008781/0.1294, allocations: 446.4 kB / 413.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1294, allocations: 8 kB / 413.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1295, allocations: 0 / 413.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006726/0.1301, allocations: 144.8 kB / 414 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1304, allocations: 75.89 kB / 414.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.1334, allocations: 2.069 MB / 416.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.1337, allocations: 19.84 kB / 416.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1338, allocations: 12 kB / 416.2 MB, free: 13.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.134, allocations: 169.7 kB / 416.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.1341, allocations: 39.53 kB / 416.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1353, allocations: 454.9 kB / 416.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1353, allocations: 4 kB / 416.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1353, allocations: 3.953 kB / 416.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1353, allocations: 3.984 kB / 416.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.1372, allocations: 0.9591 MB / 417.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1372, allocations: 4 kB / 417.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.1375, allocations: 67.89 kB / 417.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006453/0.1381, allocations: 145.2 kB / 418.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1382, allocations: 4 kB / 418.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.1408, allocations: 2.034 MB / 420.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1408, allocations: 0 / 420.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.1418, allocations: 0.5115 MB / 420.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.142, allocations: 140.7 kB / 420.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.142, allocations: 4 kB / 420.7 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1422, allocations: 19.84 kB / 420.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.1423, allocations: 31.91 kB / 420.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1423, allocations: 8 kB / 420.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.1426, allocations: 223.1 kB / 421 MB, free: 8.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1426, allocations: 0 / 421 MB, free: 8.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005784/0.1432, allocations: 143.9 kB / 421.2 MB, free: 7.883 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 (24): * Single equations (assignments): 23 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.1445, allocations: 1.083 MB / 422.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.1454, allocations: 430.4 kB / 422.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1454, allocations: 0 / 422.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.1458, allocations: 314.9 kB / 423 MB, free: 6.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1462, allocations: 45.28 kB / 423 MB, free: 5.969 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.004001/0.1502, allocations: 2.608 MB / 425.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1507, allocations: 0.8157 MB / 426.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.1509, allocations: 34.95 kB / 426.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.151, allocations: 123.3 kB / 426.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.151, allocations: 0 / 426.6 MB, free: 2.301 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).