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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001142/0.001142, allocations: 193 kB / 16.14 MB, free: 6.711 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.178/0.178, allocations: 16.79 MB / 306.8 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.91 kB / 371.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 53.54 MB / 424.6 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004592/0.2841, allocations: 5.096 MB / 429.7 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.287, allocations: 2.517 MB / 432.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.2873, allocations: 12.81 kB / 432.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.2878, allocations: 223.6 kB / 432.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.2896, allocations: 1.097 MB / 433.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.2904, allocations: 472.4 kB / 434 MB, free: 33.89 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125: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:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0007844/0.2912, allocations: 0.9248 MB / 435 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2913, allocations: 73.94 kB / 435 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.2916, allocations: 304.3 kB / 435.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.2918, allocations: 344.5 kB / 435.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.2919, allocations: 22 kB / 435.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.2923, allocations: 265.8 kB / 436 MB, free: 33.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.2924, allocations: 93.06 kB / 436 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.2926, allocations: 312.9 kB / 436.4 MB, free: 32.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.2933, allocations: 0.8605 MB / 437.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2933, allocations: 4 kB / 437.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2933, allocations: 0 / 437.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2933, allocations: 0 / 437.2 MB, free: 32.41 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.003738/0.2971, allocations: 1.375 MB / 438.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2971, allocations: 14.53 kB / 438.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.2974, allocations: 91.52 kB / 438.7 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.298, allocations: 489.3 kB / 439.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.298, allocations: 34.06 kB / 439.2 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2981, allocations: 51.12 kB / 439.3 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.2987, allocations: 0.5234 MB / 439.8 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2987, allocations: 2.312 kB / 439.8 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.2987, allocations: 17.56 kB / 439.8 MB, free: 30.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2987, allocations: 19.52 kB / 439.8 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2992, allocations: 375.9 kB / 440.2 MB, free: 30.67 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.002062/0.3013, allocations: 3.369 MB / 443.6 MB, free: 27.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.3018, allocations: 305.6 kB / 443.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.302, allocations: 113.4 kB / 444 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.302, allocations: 3.219 kB / 444 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.302, allocations: 42.06 kB / 444 MB, free: 27.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.302, allocations: 0 / 444 MB, free: 27.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008544/0.3029, allocations: 0.4959 MB / 444.5 MB, free: 27.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3029, allocations: 61.97 kB / 444.6 MB, free: 27.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.3034, allocations: 0.5515 MB / 445.1 MB, free: 26.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.3034, allocations: 32.95 kB / 445.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3036, allocations: 316.4 kB / 445.5 MB, free: 26.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.3037, allocations: 141.6 kB / 445.6 MB, free: 26.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.3039, allocations: 242.1 kB / 445.8 MB, free: 26.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.304, allocations: 382.4 kB / 446.2 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.3044, allocations: 319.6 kB / 446.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.3049, allocations: 434.1 kB / 446.9 MB, free: 25.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.3056, allocations: 0.6417 MB / 447.6 MB, free: 25.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3056, allocations: 3.031 kB / 447.6 MB, free: 25.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001295/0.3069, allocations: 1.02 MB / 448.6 MB, free: 24.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.307, allocations: 6.562 kB / 448.6 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.307, allocations: 8.062 kB / 448.6 MB, free: 24.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.3072, allocations: 39.56 kB / 448.7 MB, free: 24.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.308, allocations: 259.8 kB / 448.9 MB, free: 24.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/0.3088, allocations: 1.339 MB / 450.3 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.3094, allocations: 90.08 kB / 450.3 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.3095, allocations: 37.03 kB / 450.4 MB, free: 23.45 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.0002092/0.3097, allocations: 214.8 kB / 450.6 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.3098, allocations: 60.44 kB / 450.6 MB, free: 23.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.3103, allocations: 349.6 kB / 451 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3104, allocations: 3.219 kB / 451 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3104, allocations: 0 / 451 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3104, allocations: 0 / 451 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.3113, allocations: 0.9594 MB / 451.9 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3113, allocations: 3.281 kB / 452 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.3115, allocations: 53.39 kB / 452 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-05/0.3116, allocations: 28.83 kB / 452 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3116, allocations: 11.19 kB / 452 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006386/0.3123, allocations: 1.324 MB / 453.4 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3123, allocations: 1.5 kB / 453.4 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.3127, allocations: 448.3 kB / 453.8 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3129, allocations: 172.5 kB / 454 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.313, allocations: 11.09 kB / 454 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.3133, allocations: 23.89 kB / 454 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.3134, allocations: 28.52 kB / 454 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3134, allocations: 9.719 kB / 454 MB, free: 20.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.3137, allocations: 365.2 kB / 454.4 MB, free: 20.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3137, allocations: 0 / 454.4 MB, free: 20.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006058/0.3143, allocations: 246 kB / 454.6 MB, free: 20.39 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.0001947/0.3145, allocations: 154.7 kB / 454.8 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.3155, allocations: 0.7778 MB / 455.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3155, allocations: 2.938 kB / 455.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.3158, allocations: 245.4 kB / 455.8 MB, free: 19.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.3163, allocations: 53.28 kB / 455.9 MB, free: 19.73 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.001067/0.3174, allocations: 1.049 MB / 456.9 MB, free: 19.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3176, allocations: 0.8427 MB / 457.8 MB, free: 18.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.3179, allocations: 96.66 kB / 457.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3181, allocations: 47.41 kB / 457.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3181, allocations: 0 / 457.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01785/0.3359, allocations: 6.781 MB / 464.7 MB, free: 17.75 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)