Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.001128/0.001128, allocations: 99.47 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.001786/0.001787, 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.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05844/0.05844, allocations: 14.17 MB / 284.5 MB, free: 7.012 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.00061/0.00061, allocations: 16.22 kB / 346.2 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1146, allocations: 51.11 MB / 397.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.006215/0.1209, allocations: 5.891 MB / 403.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.1262, allocations: 3.191 MB / 406.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008453/0.1271, allocations: 19.94 kB / 406.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.128, allocations: 306.4 kB / 406.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.1317, allocations: 1.341 MB / 408.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009912/0.1328, allocations: 485.8 kB / 408.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.1355, allocations: 1.287 MB / 409.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.1358, allocations: 118.3 kB / 410 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008788/0.1367, allocations: 494.2 kB / 410.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.1373, allocations: 490.1 kB / 410.9 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.1373, allocations: 24 kB / 410.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009447/0.1383, allocations: 347.5 kB / 411.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.1384, allocations: 95.47 kB / 411.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.1386, allocations: 205.3 kB / 411.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1397, allocations: 0.9781 MB / 412.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1397, allocations: 0 / 412.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1397, allocations: 0 / 412.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1397, allocations: 0 / 412.5 MB, free: 1.375 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.004261/0.144, allocations: 1.473 MB / 414 MB, free: 15.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1441, allocations: 16.02 kB / 414 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.1442, allocations: 114.5 kB / 414.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.1448, allocations: 146.8 kB / 414.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1459, allocations: 0.6248 MB / 414.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.146, allocations: 54 kB / 415 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.1461, allocations: 68 kB / 415 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1473, allocations: 0.7437 MB / 415.8 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1473, allocations: 3.938 kB / 415.8 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.1474, allocations: 32 kB / 415.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1474, allocations: 20 kB / 415.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.1484, allocations: 0.6714 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.004945/0.1534, allocations: 4.801 MB / 421.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.155, allocations: 0.9438 MB / 422.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.155, allocations: 8.656 kB / 422.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1551, allocations: 43.22 kB / 422.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.685e-06/0.1551, allocations: 0 / 422.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004293/0.1594, allocations: 1.53 MB / 423.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1595, allocations: 60.06 kB / 423.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.1601, allocations: 499 kB / 424.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.1601, allocations: 37.7 kB / 424.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1604, allocations: 355.9 kB / 424.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.1607, allocations: 268.1 kB / 425 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1607, allocations: 12 kB / 425 MB, free: 4.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1609, allocations: 386.7 kB / 425.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.1613, allocations: 201.9 kB / 425.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.1617, allocations: 326 kB / 425.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.1621, allocations: 271 kB / 426.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1621, allocations: 3.938 kB / 426.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001913/0.164, allocations: 0.9311 MB / 427.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1641, allocations: 8 kB / 427.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1641, allocations: 320 / 427.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.1652, allocations: 303.1 kB / 427.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.1658, allocations: 163.8 kB / 427.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2259/0.3918, allocations: 3.107 MB / 430.7 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.3927, allocations: 57.47 kB / 430.8 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.3927, allocations: 27.94 kB / 430.8 MB, free: 34.66 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.3932, allocations: 220.5 kB / 431 MB, free: 34.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3933, allocations: 73.56 kB / 431.1 MB, free: 34.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.3954, allocations: 0.8807 MB / 432 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.3954, allocations: 11.44 kB / 432 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3954, allocations: 0.7031 kB / 432 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3954, allocations: 5.734 kB / 432 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.3985, allocations: 1.799 MB / 433.8 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3985, allocations: 1.094 kB / 433.8 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.3991, allocations: 127.9 kB / 433.9 MB, free: 33.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.4001, allocations: 293.4 kB / 434.2 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.4001, allocations: 10.97 kB / 434.2 MB, free: 33.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/0.4043, allocations: 3.046 MB / 437.2 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4044, allocations: 5.688 kB / 437.2 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.4062, allocations: 0.9295 MB / 438.2 MB, free: 31.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.4065, allocations: 204.5 kB / 438.4 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.4066, allocations: 15.55 kB / 438.4 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.407, allocations: 33.8 kB / 438.4 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4071, allocations: 54.3 kB / 438.5 MB, free: 30.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4071, allocations: 23.66 kB / 438.5 MB, free: 30.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004582/0.4076, allocations: 340.4 kB / 438.8 MB, free: 30.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4076, allocations: 0 / 438.8 MB, free: 30.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00109/0.4087, allocations: 294.2 kB / 439.1 MB, free: 30.72 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.4109, allocations: 1.544 MB / 440.7 MB, free: 29.71 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.001875/0.4128, allocations: 0.8541 MB / 441.5 MB, free: 29.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4128, allocations: 0 / 441.5 MB, free: 29.32 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.001084/0.4139, allocations: 0.5662 MB / 442.1 MB, free: 29.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.4144, allocations: 70.34 kB / 442.1 MB, free: 28.98 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.007586/0.422, allocations: 5.71 MB / 447.9 MB, free: 25.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.4228, allocations: 0.9577 MB / 448.8 MB, free: 24.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004557/0.4232, allocations: 81.81 kB / 448.9 MB, free: 24.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.4236, allocations: 253.8 kB / 449.1 MB, free: 24.14 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4236, allocations: 0 / 449.1 MB, free: 24.14 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).