Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.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.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001833/0.001833, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.577/1.577, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.09484/0.09484, allocations: 16.68 MB / 307.7 MB, free: 14.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63 kB / 372.3 MB, free: 48.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1427, allocations: 53.57 MB / 425.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.01465/0.1574, allocations: 17.55 MB / 443.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1676, allocations: 4.903 MB / 448.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.1699, allocations: 31.88 kB / 448.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.1721, allocations: 0.6548 MB / 449 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.1784, allocations: 2.088 MB / 451.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1806, allocations: 0.8498 MB / 452 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005338/0.186, allocations: 3.323 MB / 455.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1871, allocations: 0.5715 MB / 455.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.1892, allocations: 1.101 MB / 457 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.1907, allocations: 1.148 MB / 458.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.191, allocations: 148 kB / 458.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1924, allocations: 0.4919 MB / 458.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.1927, allocations: 354.4 kB / 459.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.194, allocations: 1.061 MB / 460.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.1975, allocations: 2.685 MB / 462.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1975, allocations: 0 / 462.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1975, allocations: 0 / 462.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.1975, allocations: 0 / 462.8 MB, free: 7.766 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.008514/0.2061, allocations: 2.767 MB / 465.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2061, allocations: 8.031 kB / 465.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.2085, allocations: 462.2 kB / 466.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.2108, allocations: 1.221 MB / 467.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.2109, allocations: 98.83 kB / 467.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.211, allocations: 131.9 kB / 467.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.2133, allocations: 1.464 MB / 469 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2133, allocations: 7.938 kB / 469 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.2134, allocations: 56 kB / 469 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.2135, allocations: 36 kB / 469.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.2152, allocations: 1.078 MB / 470.1 MB, free: 136 kB / 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 preOpt removeSimpleEquations (simulation): time 0.0135/0.2287, allocations: 9.887 MB / 480 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.2311, allocations: 1.272 MB / 481.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.2317, allocations: 392.6 kB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.2318, allocations: 16.98 kB / 481.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.2319, allocations: 51.5 kB / 481.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.437e-06/0.2319, allocations: 0 / 481.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.005446/0.2373, allocations: 1.9 MB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.2374, allocations: 90.11 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.24, allocations: 1.428 MB / 485.2 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.2402, allocations: 49.64 kB / 485.2 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.2409, allocations: 0.6941 MB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006485/0.2416, allocations: 442.4 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.2427, allocations: 0.6366 MB / 487 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.2429, allocations: 305.1 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.2447, allocations: 0.9011 MB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.2468, allocations: 1.195 MB / 489.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.2497, allocations: 1.691 MB / 491.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.2497, allocations: 0 / 491.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006782/0.2565, allocations: 3.029 MB / 494.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.2566, allocations: 8 kB / 494.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.2566, allocations: 4 kB / 494.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/0.2596, allocations: 0.5325 MB / 494.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/0.2623, allocations: 0.7061 MB / 495.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/0.2694, allocations: 4.785 MB / 0.4884 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/0.2728, allocations: 234 kB / 0.4886 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.2731, allocations: 108 kB / 0.4887 GB, free: 0.6602 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 (LOAD2.componentPF.isSlackBus,BUSINF.componentPF.isSlackBus,LOAD1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0009496/0.274, allocations: 409 kB / 0.4891 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.2744, allocations: 154.1 kB / 0.4893 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.2769, allocations: 1.177 MB / 0.4904 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.277, allocations: 3.984 kB / 0.4904 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.277, allocations: 7.938 kB / 0.4904 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.2777, allocations: 386.9 kB / 0.4908 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.2779, allocations: 16 kB / 0.4908 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.2789, allocations: 55.95 kB / 0.4909 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2791, allocations: 80.88 kB / 0.491 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002692/0.2818, allocations: 1.264 MB / 0.4922 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001948/0.2838, allocations: 1.461 MB / 0.4936 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005184/0.2843, allocations: 339.9 kB / 0.4939 GB, free: 11.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.2857, allocations: 0.8829 MB / 0.4948 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Backend: time 8.81e-07/0.2857, allocations: 0 / 0.4948 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005292/0.291, allocations: 2.434 MB / 0.4972 GB, free: 7.902 MB / 382.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.005258/0.2963, allocations: 3.863 MB / 0.5009 GB, free: 4.008 MB / 382.1 MB Notification: Performance of Templates: time 0.3034/0.5997, allocations: 30.16 MB / 0.5304 GB, free: 64.32 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1)