Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001824/0.001824, allocations: 193.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1903/0.1903, allocations: 16.78 MB / 306.9 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 371.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 53.55 MB / 424.8 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.00548/0.3031, allocations: 5.104 MB / 429.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.3061, allocations: 2.503 MB / 432.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.3065, allocations: 12.81 kB / 432.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.307, allocations: 215.8 kB / 432.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.3089, allocations: 1.074 MB / 433.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.3096, allocations: 466.6 kB / 434.2 MB, free: 33.57 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘slack.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0008452/0.3105, allocations: 0.9672 MB / 435.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3106, allocations: 85.23 kB / 435.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.3109, allocations: 340.2 kB / 435.5 MB, free: 32.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3112, allocations: 364.9 kB / 435.9 MB, free: 32.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.3113, allocations: 36 kB / 435.9 MB, free: 32.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.3118, allocations: 298.4 kB / 436.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.3119, allocations: 105.7 kB / 436.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.3121, allocations: 345.1 kB / 436.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007817/0.3129, allocations: 0.8748 MB / 437.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3129, allocations: 3.688 kB / 437.6 MB, free: 31.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3129, allocations: 0 / 437.6 MB, free: 31.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.313, allocations: 3.938 kB / 437.6 MB, free: 31.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003741/0.3167, allocations: 1.378 MB / 438.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3168, allocations: 8.094 kB / 438.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.3171, allocations: 92.19 kB / 439 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.3177, allocations: 494.8 kB / 439.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.3177, allocations: 35.38 kB / 439.5 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.3178, allocations: 47.78 kB / 439.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.3183, allocations: 0.5205 MB / 440.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3184, allocations: 3.938 kB / 440.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.3184, allocations: 21.89 kB / 440.1 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3184, allocations: 11.5 kB / 440.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.3189, allocations: 375.9 kB / 440.5 MB, free: 30.21 MB / 350.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.002069/0.321, allocations: 3.383 MB / 443.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.3215, allocations: 300.5 kB / 444.2 MB, free: 27.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3217, allocations: 107.3 kB / 444.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3217, allocations: 6.344 kB / 444.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3217, allocations: 34.84 kB / 444.3 MB, free: 27.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.3217, allocations: 0 / 444.3 MB, free: 27.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008136/0.3226, allocations: 0.506 MB / 444.8 MB, free: 26.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3226, allocations: 61.5 kB / 444.9 MB, free: 26.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.3231, allocations: 0.5491 MB / 445.5 MB, free: 26.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3231, allocations: 36.23 kB / 445.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3233, allocations: 318.4 kB / 445.8 MB, free: 26.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.3234, allocations: 134 kB / 445.9 MB, free: 26.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.3236, allocations: 243.3 kB / 446.2 MB, free: 25.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.3237, allocations: 386.6 kB / 446.5 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.3241, allocations: 319.1 kB / 446.9 MB, free: 25.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.3246, allocations: 432.8 kB / 447.3 MB, free: 25.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.3253, allocations: 0.6454 MB / 447.9 MB, free: 24.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3254, allocations: 3.219 kB / 447.9 MB, free: 24.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001297/0.3267, allocations: 1.017 MB / 448.9 MB, free: 24.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3267, allocations: 3.312 kB / 449 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3267, allocations: 7.125 kB / 449 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.3269, allocations: 31.94 kB / 449 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.3277, allocations: 269.6 kB / 449.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008363/0.3286, allocations: 1.429 MB / 450.7 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.3292, allocations: 93.23 kB / 450.8 MB, free: 22.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.3293, allocations: 40.91 kB / 450.8 MB, free: 22.89 MB / 350.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: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 164 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.3295, allocations: 207.4 kB / 451 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.3296, allocations: 59.36 kB / 451.1 MB, free: 22.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.3301, allocations: 350 kB / 451.4 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3301, allocations: 6.25 kB / 451.4 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3301, allocations: 7.875 kB / 451.4 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3302, allocations: 7.641 kB / 451.4 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.3311, allocations: 0.9554 MB / 452.4 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3311, allocations: 0.625 kB / 452.4 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3313, allocations: 55.95 kB / 452.4 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-05/0.3314, allocations: 24.61 kB / 452.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3314, allocations: 7.188 kB / 452.5 MB, free: 21.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006893/0.3321, allocations: 1.432 MB / 453.9 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.3321, allocations: 8 kB / 453.9 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.3326, allocations: 438.8 kB / 454.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3328, allocations: 172.2 kB / 454.5 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.3329, allocations: 14.97 kB / 454.5 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3332, allocations: 28.36 kB / 454.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.3333, allocations: 24.05 kB / 454.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3333, allocations: 9.531 kB / 454.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.3336, allocations: 364.7 kB / 454.9 MB, free: 19.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 2.375 kB / 454.9 MB, free: 19.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.3342, allocations: 238.7 kB / 455.2 MB, free: 19.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 30 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.3345, allocations: 157.8 kB / 455.3 MB, free: 19.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009734/0.3354, allocations: 0.7872 MB / 456.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3354, allocations: 256 / 456.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.3357, allocations: 249.6 kB / 456.4 MB, free: 19.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.3362, allocations: 58.67 kB / 456.4 MB, free: 19.05 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.001021/0.3373, allocations: 1.048 MB / 457.5 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3375, allocations: 0.8446 MB / 458.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.3378, allocations: 96.06 kB / 458.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3379, allocations: 48.64 kB / 458.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3379, allocations: 0 / 458.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of Templates: time 0.07847/0.4164, allocations: 7.276 MB / 465.7 MB, free: 17.05 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)