Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.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.Tutorial.GridOperation.Controlled.ControlledGridParametersChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 96.81 kB / 15.69 MB, free: 480 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.001213/0.001213, allocations: 176.9 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06642/0.06642, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0005449/0.0005451, allocations: 12 kB / 349.5 MB, free: 17.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 51.11 MB / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange): time 0.01408/0.118, allocations: 13.57 MB / 414.1 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.13, allocations: 6.435 MB / 420.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.134, allocations: 67.56 kB / 420.6 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.1368, allocations: 0.559 MB / 421.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008023/0.1449, allocations: 2.262 MB / 423.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.1484, allocations: 1.127 MB / 424.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007688/0.1561, allocations: 3.398 MB / 428 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.1576, allocations: 0.5851 MB / 428.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.1602, allocations: 1.319 MB / 429.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1871/0.3473, allocations: 1.35 MB / 431.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008327/0.3482, allocations: 93.2 kB / 431.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.3504, allocations: 453.8 kB / 431.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004658/0.3509, allocations: 385.5 kB / 432.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.3522, allocations: 0.5426 MB / 432.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.3582, allocations: 2.876 MB / 435.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3582, allocations: 0 / 435.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3582, allocations: 1.125 kB / 435.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.3584, allocations: 0 / 435.6 MB, free: 14.17 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01516/0.3736, allocations: 3.667 MB / 439.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.3737, allocations: 11.39 kB / 439.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.3767, allocations: 429.8 kB / 439.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/0.3818, allocations: 1.705 MB / 441.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.382, allocations: 169.9 kB / 441.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005585/0.3826, allocations: 225.8 kB / 441.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/0.3873, allocations: 2.103 MB / 443.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.3873, allocations: 1.438 kB / 443.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.3876, allocations: 86 kB / 444 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.988e-05/0.3877, allocations: 48.88 kB / 444 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.3924, allocations: 1.988 MB / 446 MB, free: 11.8 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.01603/0.4085, allocations: 11.69 MB / 457.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.4123, allocations: 2.777 MB / 460.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.4125, allocations: 23.88 kB / 460.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.4141, allocations: 1.11 MB / 461.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=209): time 4.118e-06/0.4141, allocations: 3.031 kB / 461.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=210): time 0.01646/0.4306, allocations: 6.381 MB / 468 MB, free: 15.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002543/0.4309, allocations: 368.1 kB / 468.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.4349, allocations: 1.685 MB / 470 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.4353, allocations: 70.77 kB / 470.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.4367, allocations: 1.057 MB / 471.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.4378, allocations: 0.7224 MB / 471.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.4381, allocations: 53.81 kB / 471.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002872/0.4384, allocations: 411.3 kB / 472.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.4405, allocations: 0.8251 MB / 473.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.4428, allocations: 1.365 MB / 474.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.4451, allocations: 1.058 MB / 475.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/0.4451, allocations: 4 kB / 475.6 MB, free: 9.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01009/0.4552, allocations: 3.739 MB / 479.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001952/0.4572, allocations: 4.879 MB / 484.2 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/0.4573, allocations: 12 kB / 484.2 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008455/0.4657, allocations: 1.637 MB / 485.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.4684, allocations: 0.5113 MB / 486.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02661/0.495, allocations: 21.13 MB / 0.4956 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/0.4989, allocations: 167.5 kB / 0.4957 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006689/0.4996, allocations: 99.98 kB / 0.4958 GB, free: 7.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4996, allocations: 5.875 kB / 0.4958 GB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008273/0.5079, allocations: 2.85 MB / 0.4986 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/0.508, allocations: 12 kB / 0.4986 GB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/0.5156, allocations: 1.454 MB / 0.5001 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.5183, allocations: 0.5305 MB / 0.5006 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.5381, allocations: 17.75 MB / 0.5179 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.5411, allocations: 115.6 kB / 0.518 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004995/0.5417, allocations: 99.97 kB / 0.5181 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im,PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 6 {38 0,2 0,2 0,2 0,2 0,4 0} Notification: Performance of prepare postOptimizeDAE: time 0.001925/0.5436, allocations: 0.6155 MB / 0.5187 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008431/0.5445, allocations: 243.1 kB / 0.519 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/0.5496, allocations: 2.399 MB / 0.5213 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/0.5497, allocations: 7.969 kB / 0.5213 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5497, allocations: 2.625 kB / 0.5213 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.5514, allocations: 477.8 kB / 0.5218 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00084/0.5523, allocations: 44 kB / 0.5218 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.5542, allocations: 119.6 kB / 0.5219 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.5546, allocations: 162.7 kB / 0.5221 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006368/0.561, allocations: 2.494 MB / 0.5245 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006145/0.5672, allocations: 2.963 MB / 0.5274 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00139/0.5686, allocations: 0.7886 MB / 0.5282 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002805/0.5714, allocations: 1.091 MB / 0.5292 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Backend: time 7.91e-07/0.5714, allocations: 0 / 0.5292 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01727/0.5887, allocations: 7.501 MB / 0.5366 GB, free: 11.88 MB / 414.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: time 0.01287/0.6016, allocations: 6.199 MB / 0.5426 GB, free: 5.641 MB / 414.1 MB Notification: Performance of Templates: time 0.08478/0.6864, allocations: 43.73 MB / 0.5853 GB, free: 10.03 MB / 462.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe 2>&1) Environment - environmentSimulation: