Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.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.TestTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001052, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1716/0.1716, allocations: 16.78 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 371.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 53.55 MB / 425.3 MB, free: 40.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.0293/0.2853, allocations: 53.78 MB / 479.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.3018, allocations: 10.74 MB / 489.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004393/0.3062, allocations: 86.38 kB / 489.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005015/0.3113, allocations: 1.539 MB / 491.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.3242, allocations: 4.469 MB / 495.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006613/0.3308, allocations: 1.95 MB / 497.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01485/0.3457, allocations: 8.873 MB / 0.4949 GB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.3489, allocations: 1.408 MB / 0.4963 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006172/0.355, allocations: 2.952 MB / 0.4991 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006222/0.3613, allocations: 3.187 MB / 0.5023 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.3629, allocations: 400.1 kB / 0.5026 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.3675, allocations: 1.021 MB / 0.5036 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.3687, allocations: 0.9294 MB / 0.5045 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006204/0.3749, allocations: 2.834 MB / 0.5073 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009321/0.3842, allocations: 6.979 MB / 0.5141 GB, free: 344 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3843, allocations: 0 / 0.5141 GB, free: 344 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3843, allocations: 0 / 0.5141 GB, free: 344 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.3845, allocations: 0 / 0.5141 GB, free: 344 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 868 * Number of variables: 868 Notification: Performance of Generate backend data structure: time 0.02492/0.4094, allocations: 7.177 MB / 0.5211 GB, free: 9.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4095, allocations: 12.03 kB / 0.5211 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006507/0.416, allocations: 1.154 MB / 0.5223 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/0.4223, allocations: 2.961 MB / 0.5252 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.4225, allocations: 270.7 kB / 0.5254 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/0.423, allocations: 348 kB / 0.5258 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.4289, allocations: 3.943 MB / 0.5296 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.336e-05/0.429, allocations: 23.75 kB / 0.5296 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/0.4293, allocations: 156 kB / 0.5298 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.4294, allocations: 95.94 kB / 0.5299 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/0.4346, allocations: 3.265 MB / 0.5331 GB, free: 12.39 MB / 414.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.03513/0.4697, allocations: 25.31 MB / 0.5578 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007848/0.4776, allocations: 4.976 MB / 0.5626 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.4796, allocations: 1.309 MB / 0.5639 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.4798, allocations: 51.36 kB / 0.564 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.183e-05/0.4799, allocations: 81.86 kB / 0.564 GB, free: 10.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=336): time 5.36e-06/0.4799, allocations: 0 / 0.564 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=336): time 0.01518/0.4951, allocations: 5.511 MB / 0.5694 GB, free: 5.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4953, allocations: 163.8 kB / 0.5696 GB, free: 5.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006525/0.5018, allocations: 3.297 MB / 0.5728 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003973/0.5022, allocations: 97.64 kB / 0.5729 GB, free: 1.746 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.5038, allocations: 1.626 MB / 0.5745 GB, free: 100 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001734/0.5055, allocations: 1.325 MB / 0.5758 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004206/0.5098, allocations: 1.684 MB / 0.5774 GB, free: 13.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.5099, allocations: 301.1 kB / 0.5777 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004705/0.5146, allocations: 2.533 MB / 0.5802 GB, free: 10.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005218/0.5198, allocations: 3.27 MB / 0.5834 GB, free: 6.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007598/0.5274, allocations: 4.799 MB / 0.5881 GB, free: 1.891 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.5275, allocations: 0 / 0.5881 GB, free: 1.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.2311/0.7585, allocations: 8.078 MB / 0.5959 GB, free: 130.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.7586, allocations: 9.656 kB / 0.596 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.7587, allocations: 5.812 kB / 0.596 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/0.7619, allocations: 0.7309 MB / 0.5967 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007263/0.7691, allocations: 1.96 MB / 0.5986 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.7796, allocations: 10.25 MB / 0.6086 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006824/0.7865, allocations: 0.5684 MB / 0.6092 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/0.7872, allocations: 301.4 kB / 0.6094 GB, free: 122.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (bus4.componentPF.isSlackBus,bus3.componentPF.isSlackBus,bus2.componentPF.isSlackBus,bus1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1166): * Single equations (assignments): 1162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,0,50.0%), (22,0,12.0%), (6,0,50.0%), (22,0,12.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00159/0.7888, allocations: 0.8726 MB / 0.6103 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/0.7895, allocations: 396.5 kB / 0.6107 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/0.7942, allocations: 3.296 MB / 0.6139 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.7943, allocations: 16.5 kB / 0.6139 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.7943, allocations: 0 / 0.6139 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.796, allocations: 0.8844 MB / 0.6148 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000571/0.7966, allocations: 59.72 kB / 0.6148 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/0.7994, allocations: 138.6 kB / 0.615 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.7997, allocations: 232.1 kB / 0.6152 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006846/0.8066, allocations: 3.624 MB / 0.6187 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005466/0.8121, allocations: 4.084 MB / 0.6227 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001304/0.8134, allocations: 1.022 MB / 0.6237 GB, free: 115.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002803/0.8162, allocations: 2.013 MB / 0.6257 GB, free: 114.9 MB / 462.1 MB Notification: Performance of Backend: time 5.81e-07/0.8162, allocations: 0 / 0.6257 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01328/0.8295, allocations: 6.258 MB / 0.6318 GB, free: 112.3 MB / 462.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.01159/0.8412, allocations: 6.799 MB / 0.6384 GB, free: 108.8 MB / 462.1 MB Notification: Performance of Templates: time 0.08482/0.926, allocations: 62.25 MB / 0.6992 GB, free: 57.68 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)