Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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: translateModel(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 103.5 kB / 16.97 MB, free: 6.168 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.002449/0.002449, allocations: 186.3 kB / 17.89 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.375/2.375, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0853/0.0853, allocations: 14.17 MB / 285.3 MB, free: 13.93 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.002029/0.00203, allocations: 68.12 kB / 346.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3009, allocations: 50.13 MB / 396.6 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.00842/0.3094, allocations: 7.285 MB / 403.9 MB, free: 42.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.3157, allocations: 3.541 MB / 407.4 MB, free: 39.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.317, allocations: 18.28 kB / 407.5 MB, free: 39.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.3185, allocations: 420.1 kB / 407.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.3235, allocations: 1.571 MB / 409.4 MB, free: 37.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.3251, allocations: 0.5635 MB / 410 MB, free: 37.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.3284, allocations: 1.848 MB / 411.9 MB, free: 35.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.3289, allocations: 125 kB / 412 MB, free: 35.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.3305, allocations: 0.6152 MB / 412.6 MB, free: 35.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.3318, allocations: 0.6367 MB / 413.2 MB, free: 35.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.3321, allocations: 64 kB / 413.3 MB, free: 34.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.3338, allocations: 427.7 kB / 413.7 MB, free: 34.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.3341, allocations: 167.2 kB / 413.9 MB, free: 34.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.3353, allocations: 0.5403 MB / 414.4 MB, free: 33.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.3378, allocations: 1.451 MB / 415.9 MB, free: 32.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3379, allocations: 0 / 415.9 MB, free: 32.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3379, allocations: 0 / 415.9 MB, free: 32.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.3379, allocations: 0 / 415.9 MB, free: 32.4 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005585/0.3435, allocations: 1.75 MB / 417.6 MB, free: 30.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3436, allocations: 12.03 kB / 417.6 MB, free: 30.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.3446, allocations: 151.7 kB / 417.8 MB, free: 30.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3461, allocations: 0.6648 MB / 418.4 MB, free: 29.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.3462, allocations: 58.38 kB / 418.5 MB, free: 29.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.3463, allocations: 75.94 kB / 418.6 MB, free: 29.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3473, allocations: 0.7693 MB / 419.3 MB, free: 28.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3474, allocations: 7.984 kB / 419.3 MB, free: 28.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.3474, allocations: 28 kB / 419.4 MB, free: 28.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.3475, allocations: 20 kB / 419.4 MB, free: 28.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.349, allocations: 0.7065 MB / 420.1 MB, free: 28.03 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.006178/0.3552, allocations: 5.072 MB / 425.2 MB, free: 22.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.3573, allocations: 0.9688 MB / 426.1 MB, free: 21.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.3579, allocations: 303.6 kB / 426.4 MB, free: 21.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.358, allocations: 12.64 kB / 426.5 MB, free: 21.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3581, allocations: 43.22 kB / 426.5 MB, free: 21.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 6.112e-06/0.3581, allocations: 0 / 426.5 MB, free: 21.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.003494/0.3616, allocations: 1.242 MB / 427.7 MB, free: 19.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3617, allocations: 60.06 kB / 427.8 MB, free: 19.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.3626, allocations: 0.5497 MB / 428.3 MB, free: 19.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.3627, allocations: 37.7 kB / 428.4 MB, free: 19.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.3629, allocations: 359.9 kB / 428.7 MB, free: 18.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.3632, allocations: 272 kB / 429 MB, free: 18.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3634, allocations: 130.6 kB / 429.1 MB, free: 18.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3635, allocations: 378.8 kB / 429.5 MB, free: 17.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.364, allocations: 225.8 kB / 429.7 MB, free: 17.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.3646, allocations: 324.3 kB / 430 MB, free: 17.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.3654, allocations: 0.5937 MB / 430.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3654, allocations: 0 / 430.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001868/0.3673, allocations: 0.8603 MB / 431.5 MB, free: 15.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3673, allocations: 8 kB / 431.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3673, allocations: 4 kB / 431.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/0.3681, allocations: 180.9 kB / 431.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.3693, allocations: 195.8 kB / 431.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.373, allocations: 2.531 MB / 434.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.3738, allocations: 47.59 kB / 434.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.3739, allocations: 28 kB / 434.5 MB, free: 12.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003132/0.3742, allocations: 219.8 kB / 434.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3744, allocations: 79.19 kB / 434.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3756, allocations: 0.8061 MB / 435.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3756, allocations: 8 kB / 435.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3756, allocations: 7.984 kB / 435.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3757, allocations: 3.938 kB / 435.6 MB, free: 11.63 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 postOpt removeSimpleEquations (simulation): time 0.002287/0.3779, allocations: 1.854 MB / 437.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.378, allocations: 4 kB / 437.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.3789, allocations: 167.8 kB / 437.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/0.3796, allocations: 170.4 kB / 437.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.3797, allocations: 16 kB / 437.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.3832, allocations: 2.524 MB / 440.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3832, allocations: 0 / 440.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.386, allocations: 2.036 MB / 442.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.3865, allocations: 228 kB / 442.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.3866, allocations: 16 kB / 442.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.3873, allocations: 23.91 kB / 442.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3875, allocations: 48.58 kB / 442.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.3876, allocations: 20 kB / 442.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.3882, allocations: 386.8 kB / 443.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3882, allocations: 0 / 443.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001461/0.3897, allocations: 303.8 kB / 443.4 MB, free: 3.562 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/0.39, allocations: 178 kB / 443.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.3915, allocations: 0.8187 MB / 444.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3915, allocations: 0 / 444.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.3925, allocations: 0.5255 MB / 444.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.3936, allocations: 122.3 kB / 445 MB, free: 1.895 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.3967, allocations: 1.692 MB / 446.7 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.3975, allocations: 0.9543 MB / 447.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.3979, allocations: 67.42 kB / 447.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3979, allocations: 0 / 447.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Templates: time 0.02063/0.4186, allocations: 13.64 MB / 461.3 MB, free: 1.48 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1)