Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.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.ControlledGridWithoutPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, 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.001506/0.001506, allocations: 177.3 kB / 15.94 MB, free: 228 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.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06085/0.06085, 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.0005627/0.0005628, allocations: 18.81 kB / 348.8 MB, free: 17.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1095, allocations: 51.11 MB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS): time 0.01357/0.1232, allocations: 11.78 MB / 411.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1348, allocations: 5.675 MB / 417.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.1378, allocations: 47.75 kB / 417.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1403, allocations: 0.5048 MB / 418 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007722/0.148, allocations: 2.106 MB / 420.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.151, allocations: 0.9502 MB / 421 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00734/0.1583, allocations: 2.992 MB / 424 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1595, allocations: 395.1 kB / 424.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.1621, allocations: 1.144 MB / 425.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.1646, allocations: 1.21 MB / 426.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.1652, allocations: 80 kB / 426.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.1673, allocations: 439.6 kB / 427.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006877/0.168, allocations: 322.4 kB / 427.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.1693, allocations: 468.5 kB / 428 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2045/0.3739, allocations: 2.372 MB / 430.4 MB, free: 16.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3739, allocations: 0 / 430.4 MB, free: 16.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3739, allocations: 0 / 430.4 MB, free: 16.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.374, allocations: 1.031 kB / 430.4 MB, free: 16.11 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.01079/0.3848, allocations: 3.213 MB / 433.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3849, allocations: 14.77 kB / 433.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3867, allocations: 363.1 kB / 434 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3897, allocations: 1.385 MB / 435.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3898, allocations: 136.4 kB / 435.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.3901, allocations: 189 kB / 435.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.3932, allocations: 1.737 MB / 437.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.3932, allocations: 4.844 kB / 437.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.3934, allocations: 68.38 kB / 437.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.3934, allocations: 43.09 kB / 437.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/0.3966, allocations: 1.727 MB / 439.3 MB, free: 14.09 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.01197/0.4086, allocations: 10.09 MB / 449.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.4119, allocations: 2.535 MB / 451.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.847e-05/0.412, allocations: 24.61 kB / 451.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.4135, allocations: 0.9967 MB / 452.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=184): time 3.456e-06/0.4135, allocations: 1.188 kB / 452.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.01322/0.4267, allocations: 5.829 MB / 458.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.4268, allocations: 339.8 kB / 459.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.4284, allocations: 1.352 MB / 460.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.4286, allocations: 68.84 kB / 460.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/0.4291, allocations: 0.8256 MB / 461.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/0.4296, allocations: 0.6337 MB / 461.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.4298, allocations: 46.81 kB / 462 MB, free: 2.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4299, allocations: 394.7 kB / 462.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4311, allocations: 0.7368 MB / 463.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4325, allocations: 1.188 MB / 464.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4339, allocations: 0.9351 MB / 465.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4339, allocations: 1.938 kB / 465.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007328/0.4413, allocations: 3.368 MB / 468.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001905/0.4432, allocations: 4.138 MB / 472.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.4432, allocations: 8 kB / 472.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007872/0.4511, allocations: 1.53 MB / 474.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.4533, allocations: 463.8 kB / 474.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/0.4756, allocations: 18.31 MB / 493 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.4778, allocations: 147.5 kB / 493.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.478, allocations: 87.98 kB / 493.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.478, allocations: 7.938 kB / 493.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005187/0.4832, allocations: 2.552 MB / 495.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.4833, allocations: 8 kB / 495.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006678/0.4899, allocations: 1.346 MB / 497.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.4919, allocations: 483.6 kB / 497.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.507, allocations: 14.94 MB / 0.5006 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.5091, allocations: 108.6 kB / 0.5007 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.5093, allocations: 83.98 kB / 0.5008 GB, free: 0.5586 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im,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 (248): * Single equations (assignments): 236 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 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.0009685/0.5102, allocations: 0.5447 MB / 0.5013 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.5106, allocations: 201.8 kB / 0.5015 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.5147, allocations: 2.156 MB / 0.5036 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.5147, allocations: 7.969 kB / 0.5036 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5147, allocations: 0 / 0.5036 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008505/0.5156, allocations: 406.5 kB / 0.504 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.5159, allocations: 36 kB / 0.504 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.517, allocations: 101.6 kB / 0.5041 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.5173, allocations: 153 kB / 0.5043 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005106/0.5224, allocations: 2.245 MB / 0.5065 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004176/0.5266, allocations: 2.568 MB / 0.509 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001124/0.5277, allocations: 0.6715 MB / 0.5096 GB, free: 7.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001238/0.529, allocations: 0.8688 MB / 0.5105 GB, free: 6.566 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.529, allocations: 0 / 0.5105 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01195/0.541, allocations: 6.652 MB / 0.517 GB, free: 15.75 MB / 398.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.006843/0.5478, allocations: 5.207 MB / 0.5221 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Templates: time 0.05885/0.6067, allocations: 37.92 MB / 0.5591 GB, free: 4.648 MB / 430.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe 2>&1) Environment - environmentSimulation: