Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_symb_jac_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.001044/0.001044, allocations: 97.05 kB / 15.7 MB, free: 472 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.001317/0.001317, allocations: 181.3 kB / 16.58 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.701/1.701, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05976/0.05976, allocations: 14.17 MB / 285.2 MB, free: 7.156 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.0005772/0.0005775, allocations: 16.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1111, allocations: 51.11 MB / 398 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.003391/0.1146, allocations: 3.447 MB / 401.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.1175, allocations: 2.196 MB / 403.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1177, allocations: 4 kB / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.1181, allocations: 195 kB / 403.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.12, allocations: 0.9417 MB / 404.8 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1204, allocations: 203.4 kB / 405 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.1212, allocations: 0.6628 MB / 405.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1214, allocations: 49.08 kB / 405.7 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.1217, allocations: 267 kB / 405.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.122, allocations: 235.1 kB / 406.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.122, allocations: 12 kB / 406.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.1224, allocations: 215.7 kB / 406.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.1225, allocations: 55.69 kB / 406.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.1226, allocations: 109.5 kB / 406.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.1231, allocations: 0.5107 MB / 407.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1231, allocations: 0 / 407.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1231, allocations: 0 / 407.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1231, allocations: 0 / 407.1 MB, free: 7.543 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.00197/0.1251, allocations: 0.8651 MB / 407.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1252, allocations: 12.02 kB / 407.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.029e-05/0.1252, allocations: 74.53 kB / 408 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.1255, allocations: 75.41 kB / 408.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.1261, allocations: 391.5 kB / 408.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1261, allocations: 28.95 kB / 408.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.1262, allocations: 32 kB / 408.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.1267, allocations: 364.9 kB / 408.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1267, allocations: 4 kB / 408.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.1267, allocations: 8 kB / 408.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1268, allocations: 12 kB / 408.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.1272, allocations: 290.4 kB / 409.2 MB, free: 5.281 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.002075/0.1293, allocations: 2.317 MB / 411.5 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.1302, allocations: 452.1 kB / 411.9 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.1302, allocations: 4 kB / 411.9 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1303, allocations: 39.09 kB / 412 MB, free: 2.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.1303, allocations: 0 / 412 MB, free: 2.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00208/0.1324, allocations: 0.7209 MB / 412.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1324, allocations: 55.41 kB / 412.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.1327, allocations: 313.7 kB / 413.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1328, allocations: 33.7 kB / 413.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1329, allocations: 204.2 kB / 413.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.133, allocations: 130.1 kB / 413.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.133, allocations: 4 kB / 413.4 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1332, allocations: 342.8 kB / 413.8 MB, free: 312 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1333, allocations: 87.95 kB / 413.9 MB, free: 224 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1335, allocations: 128.7 kB / 414 MB, free: 80 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1337, allocations: 115.6 kB / 414.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1337, allocations: 0 / 414.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009053/0.1346, allocations: 450.5 kB / 414.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1347, allocations: 4 kB / 414.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1347, allocations: 4 kB / 414.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.1354, allocations: 148.8 kB / 414.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.1357, allocations: 75.91 kB / 414.8 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.1386, allocations: 2.068 MB / 416.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1389, allocations: 23.91 kB / 416.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.139, allocations: 12 kB / 416.9 MB, free: 13.06 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.0002015/0.1392, allocations: 173.7 kB / 417 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.1393, allocations: 39.53 kB / 417.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/0.1402, allocations: 443 kB / 417.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1402, allocations: 4 kB / 417.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1403, allocations: 3.953 kB / 417.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1403, allocations: 11.98 kB / 417.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.1418, allocations: 0.9669 MB / 418.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1418, allocations: 0 / 418.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.142, allocations: 63.89 kB / 418.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005985/0.1426, allocations: 140.6 kB / 418.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.1427, allocations: 11.98 kB / 418.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.1452, allocations: 2.03 MB / 420.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1452, allocations: 0 / 420.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.1468, allocations: 1.232 MB / 422 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.147, allocations: 144.6 kB / 422.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.147, allocations: 4 kB / 422.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1473, allocations: 19.83 kB / 422.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.1473, allocations: 23.97 kB / 422.2 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1474, allocations: 8 kB / 422.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.1476, allocations: 223.2 kB / 422.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1476, allocations: 0 / 422.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007517/0.1484, allocations: 144 kB / 422.5 MB, free: 7.094 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.001461/0.1499, allocations: 1.087 MB / 423.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.1507, allocations: 426.8 kB / 424 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1507, allocations: 3.938 kB / 424 MB, free: 5.543 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.1511, allocations: 322.5 kB / 424.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1515, allocations: 49.27 kB / 424.4 MB, free: 5.164 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.003562/0.1551, allocations: 2.835 MB / 427.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1555, allocations: 0.8195 MB / 428 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1557, allocations: 43.02 kB / 428.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.1559, allocations: 123.3 kB / 428.2 MB, free: 1.242 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1559, allocations: 0 / 428.2 MB, free: 1.242 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).