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.000798/0.0008024, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008341/0.0008341, allocations: 168.7 kB / 15.95 MB, free: 204 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.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06131/0.06131, allocations: 14.17 MB / 284.6 MB, free: 7.117 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.0005246/0.0005247, allocations: 19.98 kB / 346.3 MB, free: 19.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09313, allocations: 51.11 MB / 397.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.006574/0.09978, allocations: 6.444 MB / 403.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.1045, allocations: 3.252 MB / 407.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.1053, allocations: 15.94 kB / 407.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.1062, allocations: 302.5 kB / 407.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.1095, allocations: 1.25 MB / 408.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.1105, allocations: 478 kB / 409.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.1129, allocations: 1.743 MB / 410.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1132, allocations: 122.4 kB / 411 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.1138, allocations: 465.7 kB / 411.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.1144, allocations: 0.4978 MB / 411.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.1144, allocations: 24 kB / 411.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/0.1153, allocations: 347.6 kB / 412.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.1154, allocations: 107.3 kB / 412.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1157, allocations: 201.3 kB / 412.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.1168, allocations: 1.002 MB / 413.6 MB, free: 364 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1168, allocations: 0 / 413.6 MB, free: 364 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1168, allocations: 0 / 413.6 MB, free: 364 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.1168, allocations: 0 / 413.6 MB, free: 364 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.004045/0.1209, allocations: 1.473 MB / 415.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1209, allocations: 12.02 kB / 415.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.1211, allocations: 118.5 kB / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.1216, allocations: 146.8 kB / 415.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/0.1226, allocations: 0.617 MB / 415.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.1226, allocations: 50 kB / 416 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.1227, allocations: 76 kB / 416.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1238, allocations: 0.7437 MB / 416.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1238, allocations: 7.938 kB / 416.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.1239, allocations: 35.94 kB / 416.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.1239, allocations: 20 kB / 416.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1249, allocations: 0.6635 MB / 417.5 MB, free: 12.26 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.00432/0.1293, allocations: 4.812 MB / 422.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.1308, allocations: 0.9438 MB / 423.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.1312, allocations: 287.1 kB / 423.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.254e-05/0.1312, allocations: 8.656 kB / 423.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1313, allocations: 43.22 kB / 423.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.1313, allocations: 0 / 423.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004375/0.1357, allocations: 1.643 MB / 425.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1357, allocations: 60.06 kB / 425.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.1363, allocations: 0.4951 MB / 425.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.1363, allocations: 33.7 kB / 425.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.1366, allocations: 359.9 kB / 426.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.1368, allocations: 268.1 kB / 426.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1368, allocations: 16 kB / 426.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.137, allocations: 378.7 kB / 426.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1373, allocations: 201.9 kB / 427.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.1377, allocations: 334 kB / 427.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.1382, allocations: 262.9 kB / 427.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.1382, allocations: 4 kB / 427.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001774/0.1399, allocations: 0.9275 MB / 428.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.14, allocations: 8.031 kB / 428.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.14, allocations: 4 kB / 428.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/0.141, allocations: 295.2 kB / 428.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.1416, allocations: 167.8 kB / 429 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1916/0.3332, allocations: 3.022 MB / 432.1 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.334, allocations: 60.36 kB / 432.1 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.334, allocations: 24.81 kB / 432.1 MB, free: 35.13 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.0003348/0.3344, allocations: 219.7 kB / 432.4 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3345, allocations: 79.16 kB / 432.4 MB, free: 34.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.3363, allocations: 0.8757 MB / 433.3 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.3363, allocations: 8.281 kB / 433.3 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3363, allocations: 0 / 433.3 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.3363, allocations: 5.266 kB / 433.3 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.3392, allocations: 1.791 MB / 435.1 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3392, allocations: 0 / 435.1 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.3398, allocations: 128.3 kB / 435.2 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009409/0.3407, allocations: 296 kB / 435.5 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.3408, allocations: 12.48 kB / 435.5 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/0.3446, allocations: 2.956 MB / 438.5 MB, free: 31.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3446, allocations: 3.328 kB / 438.5 MB, free: 31.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3463, allocations: 0.9359 MB / 439.4 MB, free: 31.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.3466, allocations: 195.8 kB / 439.6 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.3467, allocations: 16.22 kB / 439.6 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.347, allocations: 30.02 kB / 439.7 MB, free: 30.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3471, allocations: 54.53 kB / 439.7 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.3472, allocations: 16.59 kB / 439.7 MB, free: 30.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004525/0.3476, allocations: 344.6 kB / 440.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3476, allocations: 0.9688 kB / 440.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3487, allocations: 299.9 kB / 440.4 MB, free: 30.73 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.001856/0.3506, allocations: 1.541 MB / 441.9 MB, free: 29.73 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.001579/0.3522, allocations: 0.8554 MB / 442.8 MB, free: 29.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3522, allocations: 0.5 kB / 442.8 MB, free: 29.33 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.0008346/0.3531, allocations: 0.5651 MB / 443.3 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.3536, allocations: 86.84 kB / 443.4 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.006166/0.3598, allocations: 3.986 MB / 447.4 MB, free: 26.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.3602, allocations: 0.9379 MB / 448.3 MB, free: 26.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003771/0.3606, allocations: 86.67 kB / 448.4 MB, free: 26.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.3609, allocations: 256.5 kB / 448.7 MB, free: 25.92 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3609, allocations: 0 / 448.7 MB, free: 25.92 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).