Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.0009837/0.0009837, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001033/0.001033, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05906/0.05906, allocations: 14.15 MB / 284.5 MB, free: 7.152 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.0004971/0.0004971, allocations: 12 kB / 346.1 MB, free: 19.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08641, allocations: 51.13 MB / 397.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.007624/0.09408, allocations: 8.294 MB / 405.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.1007, allocations: 4.087 MB / 409.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.102, allocations: 27.88 kB / 409.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.1033, allocations: 389.9 kB / 410 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.1078, allocations: 1.7 MB / 411.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.1086, allocations: 310.7 kB / 412 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003634/0.1123, allocations: 2.051 MB / 414.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.1127, allocations: 167.3 kB / 414.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.114, allocations: 0.7823 MB / 415 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009952/0.115, allocations: 0.7354 MB / 415.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1151, allocations: 40 kB / 415.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009846/0.1161, allocations: 319.7 kB / 416.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1162, allocations: 167.1 kB / 416.3 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.1166, allocations: 297 kB / 416.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.1182, allocations: 1.391 MB / 418 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1182, allocations: 0 / 418 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1182, allocations: 4 kB / 418 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.1183, allocations: 0 / 418 MB, free: 11.96 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.009109/0.1274, allocations: 2.362 MB / 420.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1274, allocations: 12.02 kB / 420.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.1285, allocations: 226.1 kB / 420.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.1303, allocations: 0.8822 MB / 421.4 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.1304, allocations: 78.08 kB / 421.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1305, allocations: 100 kB / 421.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.1324, allocations: 1.085 MB / 422.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1324, allocations: 0 / 422.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.1325, allocations: 40 kB / 422.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.1325, allocations: 32 kB / 422.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.1343, allocations: 1.054 MB / 423.8 MB, free: 5.93 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.164/0.2983, allocations: 6.311 MB / 430.1 MB, free: 34.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.301, allocations: 1.484 MB / 431.6 MB, free: 33.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.3011, allocations: 23.72 kB / 431.7 MB, free: 33.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3012, allocations: 50.38 kB / 431.7 MB, free: 33.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.146e-06/0.3012, allocations: 3.531 kB / 431.7 MB, free: 33.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003467/0.3046, allocations: 1.708 MB / 433.4 MB, free: 33.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3047, allocations: 118.9 kB / 433.5 MB, free: 33.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.3057, allocations: 0.7007 MB / 434.2 MB, free: 33.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.3057, allocations: 43.42 kB / 434.3 MB, free: 33.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.306, allocations: 0.4885 MB / 434.8 MB, free: 32.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.3063, allocations: 404.9 kB / 435.2 MB, free: 32.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.3064, allocations: 19.5 kB / 435.2 MB, free: 32.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.3065, allocations: 352.6 kB / 435.5 MB, free: 32.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.3071, allocations: 326.8 kB / 435.8 MB, free: 32.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.3078, allocations: 488.2 kB / 436.3 MB, free: 31.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.3085, allocations: 407.7 kB / 436.7 MB, free: 31.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3086, allocations: 3.344 kB / 436.7 MB, free: 31.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002408/0.311, allocations: 1.185 MB / 437.9 MB, free: 31.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.311, allocations: 7.312 kB / 437.9 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.311, allocations: 5.062 kB / 437.9 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.3117, allocations: 163.9 kB / 438.1 MB, free: 31.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.3131, allocations: 327.8 kB / 438.4 MB, free: 31.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.3165, allocations: 4.48 MB / 442.9 MB, free: 26.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3177, allocations: 88.66 kB / 443 MB, free: 26.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.3178, allocations: 42.09 kB / 443 MB, free: 26.76 MB / 318.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 (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.0005178/0.3183, allocations: 287.7 kB / 443.3 MB, free: 26.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.3186, allocations: 114.2 kB / 443.4 MB, free: 26.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.3211, allocations: 1.155 MB / 444.5 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.3212, allocations: 16.77 kB / 444.6 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.3212, allocations: 2.844 kB / 444.6 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.3212, allocations: 10.81 kB / 444.6 MB, free: 25.94 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.004507/0.3257, allocations: 2.728 MB / 447.3 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3257, allocations: 0 / 447.3 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.327, allocations: 275.7 kB / 447.6 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/0.3276, allocations: 169.4 kB / 447.7 MB, free: 24.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.3277, allocations: 22.58 kB / 447.8 MB, free: 24.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.3309, allocations: 4.487 MB / 452.2 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3309, allocations: 1.25 kB / 452.3 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.333, allocations: 1.346 MB / 453.6 MB, free: 19.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/0.3335, allocations: 271 kB / 453.9 MB, free: 19.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.3337, allocations: 17.91 kB / 453.9 MB, free: 19.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.3345, allocations: 65.17 kB / 453.9 MB, free: 19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.3347, allocations: 77.33 kB / 454 MB, free: 18.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.3348, allocations: 28.19 kB / 454 MB, free: 18.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006393/0.3354, allocations: 488.8 kB / 454.5 MB, free: 18.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3354, allocations: 0 / 454.5 MB, free: 18.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001323/0.3367, allocations: 376.1 kB / 454.9 MB, free: 18.72 MB / 318.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 (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.0003079/0.3371, allocations: 199.3 kB / 455.1 MB, free: 18.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3391, allocations: 1.302 MB / 456.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3391, allocations: 0 / 456.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3402, allocations: 0.8732 MB / 457.3 MB, free: 17.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.3409, allocations: 121.8 kB / 457.4 MB, free: 17.31 MB / 318.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.003244/0.3442, allocations: 2.227 MB / 459.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3446, allocations: 1.101 MB / 460.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007966/0.3454, allocations: 161.2 kB / 460.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.3457, allocations: 84.47 kB / 460.9 MB, free: 15.05 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3457, allocations: 0 / 460.9 MB, free: 15.05 MB / 318.1 MB Notification: Performance of Templates: time 0.017/0.3627, allocations: 10.68 MB / 471.6 MB, free: 5.605 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & ./PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) Environment - environmentSimulation: