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.0008595/0.0008595, allocations: 91.84 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.001089/0.001089, 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.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05874/0.05874, allocations: 14.16 MB / 284.6 MB, free: 7.113 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.0005319/0.000532, allocations: 16 kB / 346.3 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09679, allocations: 51.12 MB / 397.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.004464/0.1013, allocations: 3.707 MB / 401.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.1049, allocations: 2.25 MB / 403.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/0.1055, allocations: 8 kB / 403.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.1062, allocations: 187.1 kB / 403.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.1087, allocations: 0.8944 MB / 404.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.1092, allocations: 199.4 kB / 404.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.1105, allocations: 0.8988 MB / 405.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1107, allocations: 56.98 kB / 405.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.1112, allocations: 250.8 kB / 405.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.1117, allocations: 238.9 kB / 406.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.1118, allocations: 12 kB / 406.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/0.1125, allocations: 235.8 kB / 406.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.1126, allocations: 47.66 kB / 406.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.1128, allocations: 117.5 kB / 406.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.1135, allocations: 0.5146 MB / 407 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1135, allocations: 0 / 407 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1135, allocations: 0 / 407 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1135, allocations: 0 / 407 MB, free: 6.961 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.002007/0.1156, allocations: 0.8652 MB / 407.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1156, allocations: 12.02 kB / 407.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.702e-05/0.1157, allocations: 78.47 kB / 407.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.116, allocations: 71.42 kB / 408 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.1166, allocations: 399.5 kB / 408.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1166, allocations: 28.95 kB / 408.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.1167, allocations: 32 kB / 408.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.1172, allocations: 364.9 kB / 408.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1173, allocations: 0 / 408.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.1173, allocations: 16 kB / 408.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.1173, allocations: 8 kB / 408.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.1178, allocations: 290.4 kB / 409.1 MB, free: 4.691 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.00209/0.1199, allocations: 2.313 MB / 411.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.1208, allocations: 448.1 kB / 411.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.121, allocations: 113.4 kB / 412 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.121, allocations: 4 kB / 412 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1211, allocations: 42.42 kB / 412 MB, free: 1.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.1211, allocations: 0 / 412 MB, free: 1.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002042/0.1231, allocations: 0.7405 MB / 412.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1232, allocations: 51.41 kB / 412.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.1235, allocations: 309.7 kB / 413.1 MB, free: 316 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1235, allocations: 41.64 kB / 413.2 MB, free: 268 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1237, allocations: 208.2 kB / 413.4 MB, free: 56 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1238, allocations: 126.3 kB / 413.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.1238, allocations: 8 kB / 413.5 MB, free: 15.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.124, allocations: 346.8 kB / 413.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1241, allocations: 79.97 kB / 413.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1243, allocations: 136.7 kB / 414 MB, free: 15.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1245, allocations: 115.5 kB / 414.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1245, allocations: 0 / 414.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008748/0.1254, allocations: 442.4 kB / 414.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.1254, allocations: 7.938 kB / 414.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1254, allocations: 11.92 kB / 414.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.1261, allocations: 144.8 kB / 414.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1263, allocations: 71.95 kB / 414.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.1289, allocations: 2.026 MB / 416.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.1292, allocations: 19.91 kB / 416.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1292, allocations: 12 kB / 416.9 MB, free: 12.38 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.0001896/0.1294, allocations: 169.7 kB / 417 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1295, allocations: 39.53 kB / 417.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.1304, allocations: 451 kB / 417.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1305, allocations: 7.953 kB / 417.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1305, allocations: 0 / 417.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1305, allocations: 7.984 kB / 417.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1319, allocations: 0.963 MB / 418.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1319, allocations: 0 / 418.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.1321, allocations: 63.89 kB / 418.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.1327, allocations: 152.6 kB / 418.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1327, allocations: 4 kB / 418.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.1349, allocations: 1.98 MB / 420.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1349, allocations: 0 / 420.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008669/0.1357, allocations: 0.5193 MB / 421.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1359, allocations: 140.7 kB / 421.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1359, allocations: 8 kB / 421.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1361, allocations: 19.8 kB / 421.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1362, allocations: 23.97 kB / 421.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1362, allocations: 4 kB / 421.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1364, allocations: 231.1 kB / 421.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1365, allocations: 0 / 421.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.137, allocations: 147.9 kB / 421.8 MB, free: 7.207 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.001225/0.1382, allocations: 1.087 MB / 422.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000752/0.139, allocations: 418.4 kB / 423.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.139, allocations: 0 / 423.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.1394, allocations: 315.1 kB / 423.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1398, allocations: 60.73 kB / 423.6 MB, free: 5.289 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.003333/0.1432, allocations: 2.047 MB / 425.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1435, allocations: 0.8079 MB / 426.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1437, allocations: 34.95 kB / 426.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.1439, allocations: 119.4 kB / 426.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1439, allocations: 0 / 426.6 MB, free: 2.195 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).