Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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.ControlledGridWithControlledGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 178.4 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 96.05 kB / 293 MB, free: 4.863 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06095/0.06095, allocations: 14.38 MB / 358.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 9.375 kB / 426 MB, free: 97.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07645, allocations: 53.95 MB / 479.9 MB, free: 55.4 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen): time 0.01013/0.08663, allocations: 14.9 MB / 494.8 MB, free: 40.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009192/0.09586, allocations: 8.165 MB / 0.4912 GB, free: 31.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.09821, allocations: 71.56 kB / 0.4913 GB, free: 31.88 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.1001, allocations: 0.6993 MB / 0.492 GB, free: 31.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.1059, allocations: 3.427 MB / 0.4953 GB, free: 27.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.1088, allocations: 2.19 MB / 0.4974 GB, free: 25.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004974/0.1138, allocations: 5.274 MB / 0.5026 GB, free: 19.85 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.1149, allocations: 0.8153 MB / 0.5034 GB, free: 19 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.1166, allocations: 1.325 MB / 0.5047 GB, free: 17.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1183, allocations: 1.457 MB / 0.5061 GB, free: 16.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004349/0.1187, allocations: 96 kB / 0.5062 GB, free: 16.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.1201, allocations: 467.6 kB / 0.5066 GB, free: 15.65 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.1205, allocations: 421.5 kB / 0.5071 GB, free: 15.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.122, allocations: 1.439 MB / 0.5085 GB, free: 13.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.1254, allocations: 4.337 MB / 0.5127 GB, free: 9.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1254, allocations: 0 / 0.5127 GB, free: 9.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1254, allocations: 0 / 0.5127 GB, free: 9.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.1256, allocations: 0 / 0.5127 GB, free: 9.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01001/0.1356, allocations: 3.713 MB / 0.5163 GB, free: 5.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1356, allocations: 8.031 kB / 0.5163 GB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.1373, allocations: 425 kB / 0.5167 GB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.1404, allocations: 1.992 MB / 0.5187 GB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.1405, allocations: 168 kB / 0.5188 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.1409, allocations: 232 kB / 0.5191 GB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.1446, allocations: 2.206 MB / 0.5212 GB, free: 424 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.1446, allocations: 7.938 kB / 0.5212 GB, free: 416 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.1448, allocations: 84 kB / 0.5213 GB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.1448, allocations: 51.94 kB / 0.5213 GB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.1489, allocations: 2.1 MB / 0.5234 GB, free: 14.17 MB / 362.7 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.01699/0.1659, allocations: 12.49 MB / 0.5356 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.1703, allocations: 2.85 MB / 0.5384 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.1719, allocations: 0.9322 MB / 0.5393 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.172, allocations: 25.98 kB / 0.5393 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/0.174, allocations: 1.158 MB / 0.5405 GB, free: 11.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=209): time 4.439e-06/0.174, allocations: 0 / 0.5405 GB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.01557/0.1896, allocations: 6.475 MB / 0.5468 GB, free: 4.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.1898, allocations: 368.1 kB / 0.5471 GB, free: 4.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.1924, allocations: 1.771 MB / 0.5489 GB, free: 2.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.1926, allocations: 73.7 kB / 0.5489 GB, free: 2.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008949/0.1935, allocations: 1.058 MB / 0.55 GB, free: 1.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007144/0.1942, allocations: 0.7316 MB / 0.5507 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1944, allocations: 52 kB / 0.5507 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1946, allocations: 403.5 kB / 0.5511 GB, free: 280 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1599/0.3545, allocations: 0.9426 MB / 0.552 GB, free: 73.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.3568, allocations: 1.497 MB / 0.5535 GB, free: 72.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/0.3605, allocations: 2.402 MB / 0.5558 GB, free: 72.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.3606, allocations: 3.938 kB / 0.5558 GB, free: 72.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01142/0.372, allocations: 4.25 MB / 0.56 GB, free: 71.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.3723, allocations: 0.4908 MB / 0.5605 GB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.3723, allocations: 15.92 kB / 0.5605 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009059/0.3814, allocations: 1.978 MB / 0.5624 GB, free: 71.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.3837, allocations: 0.5296 MB / 0.5629 GB, free: 71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/0.4055, allocations: 21.13 MB / 0.5836 GB, free: 54.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.4079, allocations: 184.8 kB / 0.5837 GB, free: 54.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.4082, allocations: 98.62 kB / 0.5838 GB, free: 54.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.4082, allocations: 7.906 kB / 0.5838 GB, free: 54.73 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005565/0.4137, allocations: 2.915 MB / 0.5867 GB, free: 53.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.4138, allocations: 14.53 kB / 0.5867 GB, free: 53.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/0.4202, allocations: 1.299 MB / 0.588 GB, free: 51.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.4226, allocations: 0.6046 MB / 0.5886 GB, free: 51.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4337, allocations: 15.71 MB / 0.6039 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.4358, allocations: 119.1 kB / 0.604 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/0.4362, allocations: 101.8 kB / 0.6041 GB, free: 34.25 MB / 378.7 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,ctrlGEN.PSS.firstWashoutVsi2.integrator.local_reset,ctrlGEN.PSS.secondWashoutVsi1.integrator.local_reset,ctrlGEN.PSS.firstWashoutVsi1.integrator.local_reset,ctrlGEN.AVR.firstOrderLim.I.local_reset,ctrlGEN.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 (286): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.4379, allocations: 0.6742 MB / 0.6048 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/0.4384, allocations: 253 kB / 0.605 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.4428, allocations: 2.483 MB / 0.6074 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.4429, allocations: 11.95 kB / 0.6075 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4429, allocations: 6.781 kB / 0.6075 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/0.4438, allocations: 0.499 MB / 0.6079 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004483/0.4443, allocations: 40 kB / 0.608 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.4457, allocations: 121.7 kB / 0.6081 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.446, allocations: 161.7 kB / 0.6083 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005567/0.4516, allocations: 2.61 MB / 0.6108 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004467/0.4561, allocations: 3.133 MB / 0.6139 GB, free: 24.17 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001207/0.4573, allocations: 0.8394 MB / 0.6147 GB, free: 23.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001681/0.459, allocations: 1.15 MB / 0.6158 GB, free: 22.17 MB / 378.7 MB Notification: Performance of Backend: time 5.71e-07/0.459, allocations: 0 / 0.6158 GB, free: 22.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01257/0.4716, allocations: 7.48 MB / 0.6231 GB, free: 14.42 MB / 378.7 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.007767/0.4794, allocations: 6.524 MB / 0.6295 GB, free: 7.828 MB / 378.7 MB Notification: Performance of Templates: time 0.0758/0.5552, allocations: 47.65 MB / 0.676 GB, free: 8.285 MB / 426.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe 2>&1)