Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009356, allocations: 99.86 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.0009614/0.0009615, allocations: 177.3 kB / 15.95 MB, free: 216 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.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06236/0.06236, allocations: 14.16 MB / 284.5 MB, free: 7.371 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.0005543/0.0005543, allocations: 16 kB / 348.8 MB, free: 17.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 51.11 MB / 399.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.2298/0.3309, allocations: 87.68 MB / 487.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05752/0.3885, allocations: 35.68 MB / 0.511 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01754/0.4061, allocations: 314.8 kB / 0.5113 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01699/0.4231, allocations: 3.954 MB / 0.5152 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04634/0.4695, allocations: 14.25 MB / 0.5291 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009304/0.4788, allocations: 1.783 MB / 0.5308 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04464/0.5235, allocations: 25.05 MB / 0.5553 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006162/0.5297, allocations: 2.118 MB / 0.5574 GB, free: 96 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01957/0.5493, allocations: 9.278 MB / 0.5664 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01642/0.5657, allocations: 9.204 MB / 0.5754 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003756/0.5695, allocations: 487.9 kB / 0.5759 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/0.5812, allocations: 1.878 MB / 0.5777 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005039/0.5863, allocations: 1.97 MB / 0.5796 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008883/0.5952, allocations: 3.349 MB / 0.5829 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.427/1.022, allocations: 16.2 MB / 0.5987 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.022, allocations: 0 / 0.5987 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.296e-06/1.022, allocations: 0 / 0.5987 GB, free: 21.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008083/1.023, allocations: 0 / 0.5987 GB, free: 21.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3510 * Number of variables: 3510 Notification: Performance of Generate backend data structure: time 0.0845/1.108, allocations: 21.64 MB / 0.6199 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.108, allocations: 11.89 kB / 0.6199 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/1.124, allocations: 2.738 MB / 0.6225 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02482/1.149, allocations: 8.953 MB / 0.6313 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/1.15, allocations: 1.068 MB / 0.6323 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003277/1.153, allocations: 1.297 MB / 0.6336 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0302/1.183, allocations: 13.27 MB / 0.6466 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/1.184, allocations: 17.5 kB / 0.6466 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/1.186, allocations: 0.5512 MB / 0.6471 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/1.186, allocations: 333 kB / 0.6474 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02519/1.211, allocations: 13.61 MB / 0.6607 GB, free: 2.867 MB / 446.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.118/1.329, allocations: 86.08 MB / 0.7448 GB, free: 2.574 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03648/1.366, allocations: 26.47 MB / 0.7706 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/1.367, allocations: 192.4 kB / 0.7708 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01396/1.381, allocations: 6.058 MB / 0.7767 GB, free: 9.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1464): time 3.222e-05/1.381, allocations: 0 / 0.7767 GB, free: 9.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=1464): time 0.2234/1.605, allocations: 17.85 MB / 0.7942 GB, free: 225.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003883/1.605, allocations: 0.7405 MB / 0.7949 GB, free: 225.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/1.62, allocations: 8.21 MB / 0.8029 GB, free: 224.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002209/1.622, allocations: 264.8 kB / 0.8032 GB, free: 224.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005195/1.627, allocations: 6.362 MB / 0.8094 GB, free: 221.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.006492/1.634, allocations: 5.001 MB / 0.8143 GB, free: 217.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/1.635, allocations: 322 kB / 0.8146 GB, free: 217.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0008157/1.636, allocations: 0.907 MB / 0.8155 GB, free: 216.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006994/1.643, allocations: 4.12 MB / 0.8195 GB, free: 215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009769/1.652, allocations: 7.681 MB / 0.827 GB, free: 209.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.663, allocations: 5.521 MB / 0.8324 GB, free: 206.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.663, allocations: 31.25 kB / 0.8324 GB, free: 206.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.03797/1.701, allocations: 17.49 MB / 0.8495 GB, free: 198 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/1.701, allocations: 170.5 kB / 0.8496 GB, free: 197.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/1.701, allocations: 100 kB / 0.8497 GB, free: 197.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0242/1.726, allocations: 5.597 MB / 0.8552 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/1.74, allocations: 3.626 MB / 0.8587 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05824/1.798, allocations: 31.32 MB / 0.8893 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01694/1.815, allocations: 1.278 MB / 0.8906 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002566/1.818, allocations: 0.5937 MB / 0.8912 GB, free: 158.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 20 (Tgen2.breakerStatusInInternal,L1to5.breakerStatusInternalB,L1to5.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$PRE.L1to5.breakerStatus,L1to5.breakerStatus,$PRE.Tgen2.breakerStatus,Tgen2.breakerStatus,$PRE.L1to5.breakerStatusInternalA,$PRE.L1to5.breakerStatusInternalB,$PRE.Tgen2.breakerStatusInInternal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1720): * Single equations (assignments): 1714 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {338 0,14 0} Notification: Performance of prepare postOptimizeDAE: time 0.008855/1.827, allocations: 2.437 MB / 0.8935 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00435/1.831, allocations: 1.413 MB / 0.8949 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0295/1.861, allocations: 14.72 MB / 0.9093 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003489/1.861, allocations: 71.45 kB / 0.9094 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/1.861, allocations: 7.953 kB / 0.9094 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008701/1.87, allocations: 2.357 MB / 0.9117 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004628/1.875, allocations: 236 kB / 0.9119 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01168/1.886, allocations: 0.5473 MB / 0.9124 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002476/1.889, allocations: 1.097 MB / 0.9135 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03649/1.925, allocations: 15.13 MB / 0.9283 GB, free: 120.3 MB / 0.545 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02619/1.952, allocations: 16.77 MB / 0.9447 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006171/1.958, allocations: 4.317 MB / 0.9489 GB, free: 99.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008069/1.966, allocations: 5.142 MB / 0.9539 GB, free: 93.95 MB / 0.545 GB Notification: Performance of Backend: time 9.02e-07/1.966, allocations: 0 / 0.9539 GB, free: 93.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03299/1.999, allocations: 14.58 MB / 0.9681 GB, free: 79.29 MB / 0.545 GB 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: time 0.2324/2.231, allocations: 36.61 MB / 1.004 GB, free: 205.2 MB / 0.545 GB Notification: Performance of Templates: time 0.2513/2.483, allocations: 159.8 MB / 1.16 GB, free: 79.87 MB / 0.545 GB make -j1 -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.sim & ./PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe 2>&1) Environment - environmentSimulation: