Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 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.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001394/0.001394, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001577/0.001577, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1877/0.1877, allocations: 14.22 MB / 305.2 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 8 kB / 369.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 53.91 MB / 423.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.2088/0.3152, allocations: 8.489 MB / 432 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.322, allocations: 4.06 MB / 436.1 MB, free: 32.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.3234, allocations: 32.81 kB / 436.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.3245, allocations: 401.6 kB / 436.5 MB, free: 32.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003718/0.3282, allocations: 1.696 MB / 438.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.3289, allocations: 300.8 kB / 438.5 MB, free: 31.33 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load1.UStart / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load2.UStart / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load3.UStart / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002768/0.3317, allocations: 1.892 MB / 440.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.3325, allocations: 0.5865 MB / 441 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.3335, allocations: 0.781 MB / 441.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.3343, allocations: 0.7922 MB / 442.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.3344, allocations: 43.78 kB / 442.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009798/0.3353, allocations: 331.5 kB / 442.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3355, allocations: 185 kB / 443.1 MB, free: 29.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3358, allocations: 319.2 kB / 443.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3371, allocations: 1.468 MB / 444.9 MB, free: 28.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3371, allocations: 3.938 kB / 444.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3371, allocations: 0 / 444.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3371, allocations: 0 / 444.9 MB, free: 28.42 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.009757/0.3469, allocations: 2.614 MB / 447.5 MB, free: 27.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3469, allocations: 10.16 kB / 447.5 MB, free: 27.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.348, allocations: 236.4 kB / 447.8 MB, free: 27.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.3497, allocations: 0.9314 MB / 448.7 MB, free: 26.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.3497, allocations: 84.2 kB / 448.8 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3499, allocations: 112 kB / 448.9 MB, free: 26.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.3515, allocations: 1.155 MB / 450 MB, free: 25.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3515, allocations: 11.19 kB / 450 MB, free: 25.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.061e-05/0.3516, allocations: 41.5 kB / 450.1 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.3517, allocations: 28.69 kB / 450.1 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3535, allocations: 1.076 MB / 451.2 MB, free: 25.5 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.00675/0.3603, allocations: 7.106 MB / 458.3 MB, free: 19.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.3627, allocations: 1.555 MB / 459.8 MB, free: 18.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.608e-05/0.3627, allocations: 26.75 kB / 459.9 MB, free: 18.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3628, allocations: 53.47 kB / 459.9 MB, free: 18.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=119): time 2.665e-06/0.3628, allocations: 0 / 459.9 MB, free: 18.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.003113/0.3659, allocations: 1.747 MB / 461.7 MB, free: 17.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.366, allocations: 196.8 kB / 461.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/0.3669, allocations: 0.8076 MB / 462.7 MB, free: 16.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.3669, allocations: 47.95 kB / 462.7 MB, free: 16.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.3672, allocations: 0.5137 MB / 463.2 MB, free: 16.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.3676, allocations: 433.6 kB / 463.7 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.3676, allocations: 34 kB / 463.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3678, allocations: 369.2 kB / 464 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.3685, allocations: 0.4884 MB / 464.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/0.3693, allocations: 0.6754 MB / 465.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.3701, allocations: 0.5965 MB / 465.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3701, allocations: 3 kB / 465.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002403/0.3725, allocations: 1.663 MB / 467.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3726, allocations: 7.156 kB / 467.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3726, allocations: 10.36 kB / 467.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.3731, allocations: 163.4 kB / 467.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.375, allocations: 455.6 kB / 468.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.3783, allocations: 4.501 MB / 472.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3798, allocations: 123.3 kB / 472.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3799, allocations: 63.73 kB / 472.8 MB, free: 9.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (212): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005654/0.3805, allocations: 305.2 kB / 473.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.3808, allocations: 122.7 kB / 473.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.3829, allocations: 1.171 MB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.3829, allocations: 13.12 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3829, allocations: 3.406 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3829, allocations: 9.203 kB / 474.4 MB, free: 8.848 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 postOpt removeSimpleEquations (simulation): time 0.00447/0.3874, allocations: 3.143 MB / 477.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3874, allocations: 1.922 kB / 477.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.3887, allocations: 287.8 kB / 477.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.3892, allocations: 162.9 kB / 478 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.3893, allocations: 30.25 kB / 478 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/0.3931, allocations: 4.491 MB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.3932, allocations: 6.266 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3961, allocations: 1.426 MB / 483.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008403/0.3969, allocations: 289.2 kB / 484.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/0.3973, allocations: 18.25 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.3985, allocations: 60.2 kB / 484.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.3987, allocations: 78.08 kB / 484.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/0.3988, allocations: 34.53 kB / 484.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.3999, allocations: 0.5287 MB / 484.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3999, allocations: 0 / 484.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002593/0.4025, allocations: 464.1 kB / 485.4 MB, free: 1.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (110): * Single equations (assignments): 107 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004468/0.403, allocations: 204.6 kB / 485.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.4065, allocations: 1.636 MB / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4066, allocations: 0 / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.408, allocations: 0.8959 MB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4092, allocations: 115.7 kB / 488.2 MB, free: 15.5 MB / 366.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.005459/0.4147, allocations: 2.416 MB / 490.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/0.4156, allocations: 1.127 MB / 491.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.4167, allocations: 180 kB / 491.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.417, allocations: 104.3 kB / 492 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.417, allocations: 3.938 kB / 492.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.0286/0.4456, allocations: 12.74 MB / 0.493 GB, free: 5.371 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1)