Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, 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.001323/0.001323, 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 1.261/1.261, 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.06248/0.06248, 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.001406/0.001407, allocations: 63.91 kB / 346.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1893, allocations: 50.13 MB / 396.6 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.006904/0.1962, allocations: 10 MB / 406.6 MB, free: 39.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.2016, allocations: 4.403 MB / 411 MB, free: 36.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.2023, allocations: 24.56 kB / 411 MB, free: 36.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.2033, allocations: 0.5263 MB / 411.6 MB, free: 35.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.2068, allocations: 1.946 MB / 413.5 MB, free: 34.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.2075, allocations: 380.2 kB / 413.9 MB, free: 33.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.2097, allocations: 2.875 MB / 416.8 MB, free: 31.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.21, allocations: 172.3 kB / 416.9 MB, free: 31.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.2108, allocations: 0.9651 MB / 417.9 MB, free: 30.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.2115, allocations: 0.9649 MB / 418.9 MB, free: 29.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2117, allocations: 92 kB / 419 MB, free: 29.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.2124, allocations: 443.7 kB / 419.4 MB, free: 28.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2126, allocations: 238.8 kB / 419.6 MB, free: 28.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.2131, allocations: 0.8241 MB / 420.4 MB, free: 27.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2145, allocations: 2.031 MB / 422.5 MB, free: 25.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2145, allocations: 0 / 422.5 MB, free: 25.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2145, allocations: 0 / 422.5 MB, free: 25.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2145, allocations: 0 / 422.5 MB, free: 25.79 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.007765/0.2223, allocations: 2.591 MB / 425.1 MB, free: 23.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2223, allocations: 15.97 kB / 425.1 MB, free: 23.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008163/0.2231, allocations: 227 kB / 425.3 MB, free: 22.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.2245, allocations: 0.9443 MB / 426.2 MB, free: 21.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.2245, allocations: 82.12 kB / 426.3 MB, free: 21.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2246, allocations: 100 kB / 426.4 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.2261, allocations: 1.066 MB / 427.5 MB, free: 20.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2261, allocations: 3.938 kB / 427.5 MB, free: 20.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.2262, allocations: 40 kB / 427.5 MB, free: 20.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2262, allocations: 32 kB / 427.6 MB, free: 20.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2276, allocations: 1.03 MB / 428.6 MB, free: 19.5 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.005806/0.2334, allocations: 6.699 MB / 435.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.2354, allocations: 1.473 MB / 436.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.2359, allocations: 419.7 kB / 437.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.236, allocations: 19.39 kB / 437.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.236, allocations: 46.5 kB / 437.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.895e-06/0.2361, allocations: 0 / 437.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.002859/0.2389, allocations: 1.691 MB / 438.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.239, allocations: 118.8 kB / 439 MB, free: 8.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.2397, allocations: 0.7746 MB / 439.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.2398, allocations: 45.7 kB / 439.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.24, allocations: 488.2 kB / 440.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.2402, allocations: 406 kB / 440.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.2404, allocations: 186.8 kB / 440.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.2405, allocations: 345.9 kB / 441.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.2409, allocations: 318.5 kB / 441.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.2415, allocations: 483.5 kB / 442 MB, free: 4.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2425, allocations: 0.8613 MB / 442.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2426, allocations: 0 / 442.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001709/0.2443, allocations: 1.153 MB / 444.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2443, allocations: 4 kB / 444.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2443, allocations: 7.984 kB / 444.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005056/0.2448, allocations: 158.8 kB / 444.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.246, allocations: 315.6 kB / 444.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.2496, allocations: 4.798 MB / 449.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.2506, allocations: 71.81 kB / 449.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.2507, allocations: 36 kB / 449.4 MB, free: 13.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004029/0.2511, allocations: 277.6 kB / 449.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.2513, allocations: 118.6 kB / 449.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.2534, allocations: 1.144 MB / 451 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.2534, allocations: 12 kB / 451 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2534, allocations: 4 kB / 451 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.2534, allocations: 7.969 kB / 451 MB, free: 11.51 MB / 334.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.003733/0.2572, allocations: 2.842 MB / 453.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.2572, allocations: 0 / 453.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.2583, allocations: 275.6 kB / 454.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.2588, allocations: 150.5 kB / 454.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.2589, allocations: 27.98 kB / 454.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/0.2628, allocations: 4.786 MB / 459.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2628, allocations: 4.062 kB / 459.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.2659, allocations: 2.669 MB / 461.7 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.2664, allocations: 299.7 kB / 462 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2665, allocations: 27.86 kB / 462.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/0.2673, allocations: 51.83 kB / 462.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.2675, allocations: 67.91 kB / 462.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.2676, allocations: 24 kB / 462.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006396/0.2682, allocations: 0.5342 MB / 462.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2682, allocations: 0 / 462.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001261/0.2695, allocations: 415.7 kB / 463.1 MB, free: 14.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002796/0.2698, allocations: 195.1 kB / 463.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.2717, allocations: 1.277 MB / 464.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2717, allocations: 4 kB / 464.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.2729, allocations: 0.8674 MB / 465.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.274, allocations: 182.8 kB / 465.7 MB, free: 12.12 MB / 350.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.003336/0.2773, allocations: 2.465 MB / 468.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.2779, allocations: 1.105 MB / 469.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.2783, allocations: 95.42 kB / 469.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2783, allocations: 3.938 kB / 469.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of Templates: time 0.0294/0.3077, allocations: 29.88 MB / 499.2 MB, free: 10.44 MB / 382.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1)