Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 176.5 kB / 15.43 MB, free: 6.207 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.31/1.31, allocations: 225.7 MB / 241.9 MB, free: 408 kB / 186.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.0007779/0.000778, allocations: 101.1 kB / 293.1 MB, free: 12.9 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.06032/0.06032, allocations: 14.38 MB / 358.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 12.7 kB / 426 MB, free: 83.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07171/0.07203, allocations: 53.94 MB / 479.9 MB, free: 30.07 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS): time 0.008311/0.08038, allocations: 12.84 MB / 492.8 MB, free: 17.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007984/0.0884, allocations: 7.093 MB / 499.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.09021, allocations: 47.75 kB / 499.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.09173, allocations: 0.583 MB / 0.4888 GB, free: 9.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00517/0.09692, allocations: 3.239 MB / 0.4919 GB, free: 5.621 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.09915, allocations: 1.749 MB / 0.4936 GB, free: 3.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.1037, allocations: 4.318 MB / 0.4979 GB, free: 15.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.1046, allocations: 449.5 kB / 0.4983 GB, free: 14.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.1063, allocations: 1.127 MB / 0.4994 GB, free: 13.79 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.1079, allocations: 1.283 MB / 0.5006 GB, free: 12.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.1083, allocations: 80 kB / 0.5007 GB, free: 12.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.1096, allocations: 451.7 kB / 0.5012 GB, free: 11.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.1099, allocations: 341.9 kB / 0.5015 GB, free: 11.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.1112, allocations: 1.186 MB / 0.5026 GB, free: 10.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.1145, allocations: 3.017 MB / 0.5056 GB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1145, allocations: 0 / 0.5056 GB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1145, allocations: 0 / 0.5056 GB, free: 7.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.1145, allocations: 7.938 kB / 0.5056 GB, free: 7.414 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.009524/0.1241, allocations: 3.18 MB / 0.5087 GB, free: 4.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1241, allocations: 8.031 kB / 0.5087 GB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.1256, allocations: 365.8 kB / 0.5091 GB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.1284, allocations: 1.428 MB / 0.5104 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.1286, allocations: 135.2 kB / 0.5106 GB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.129, allocations: 180 kB / 0.5107 GB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.1326, allocations: 1.754 MB / 0.5125 GB, free: 192 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.1327, allocations: 3.938 kB / 0.5125 GB, free: 188 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.1329, allocations: 68 kB / 0.5125 GB, free: 120 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.1329, allocations: 40 kB / 0.5126 GB, free: 80 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003423/0.1363, allocations: 1.734 MB / 0.5143 GB, free: 14.34 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.01339/0.1497, allocations: 9.981 MB / 0.524 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/0.1534, allocations: 2.534 MB / 0.5265 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1545/0.3079, allocations: 0.7558 MB / 0.5272 GB, free: 59.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.3081, allocations: 25.2 kB / 0.5272 GB, free: 59.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/0.3099, allocations: 0.9996 MB / 0.5282 GB, free: 59.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=184): time 5.109e-06/0.31, allocations: 0 / 0.5282 GB, free: 59.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.01361/0.3236, allocations: 5.714 MB / 0.5338 GB, free: 58.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.3237, allocations: 340.4 kB / 0.5341 GB, free: 58.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.3254, allocations: 1.342 MB / 0.5354 GB, free: 57.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.3256, allocations: 70.75 kB / 0.5355 GB, free: 57.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.3261, allocations: 0.8095 MB / 0.5363 GB, free: 57.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/0.3266, allocations: 0.633 MB / 0.5369 GB, free: 56.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.3267, allocations: 51.91 kB / 0.537 GB, free: 56.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3269, allocations: 391.2 kB / 0.5373 GB, free: 56.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3281, allocations: 0.7352 MB / 0.5381 GB, free: 55.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3297, allocations: 1.199 MB / 0.5392 GB, free: 55.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/0.3325, allocations: 1.993 MB / 0.5412 GB, free: 53.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.3326, allocations: 2.406 kB / 0.5412 GB, free: 53.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007734/0.3403, allocations: 3.379 MB / 0.5445 GB, free: 52.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.3405, allocations: 459 kB / 0.5449 GB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.3406, allocations: 9.375 kB / 0.5449 GB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008546/0.3491, allocations: 1.777 MB / 0.5467 GB, free: 51.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.3511, allocations: 470 kB / 0.5471 GB, free: 51.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.3687, allocations: 18.05 MB / 0.5647 GB, free: 36.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.3707, allocations: 150 kB / 0.5649 GB, free: 36.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.3709, allocations: 92.39 kB / 0.565 GB, free: 36.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.3709, allocations: 3.344 kB / 0.565 GB, free: 36.43 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004718/0.3756, allocations: 2.551 MB / 0.5675 GB, free: 35.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.3757, allocations: 7.812 kB / 0.5675 GB, free: 35.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006436/0.3821, allocations: 1.343 MB / 0.5688 GB, free: 34.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.3839, allocations: 484.4 kB / 0.5692 GB, free: 34.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.3948, allocations: 14.77 MB / 0.5837 GB, free: 18.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.3966, allocations: 120.4 kB / 0.5838 GB, free: 18.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.3968, allocations: 83.98 kB / 0.5839 GB, free: 18.11 MB / 362.7 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0009349/0.3977, allocations: 0.5469 MB / 0.5844 GB, free: 17.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.398, allocations: 197.7 kB / 0.5846 GB, free: 17.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/0.4015, allocations: 2.154 MB / 0.5867 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.4015, allocations: 15.95 kB / 0.5867 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4015, allocations: 0 / 0.5867 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.4022, allocations: 402.6 kB / 0.5871 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.4025, allocations: 41.3 kB / 0.5871 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.4035, allocations: 107.6 kB / 0.5872 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4037, allocations: 145.8 kB / 0.5874 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004342/0.4081, allocations: 2.234 MB / 0.5895 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003451/0.4115, allocations: 2.575 MB / 0.5921 GB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009413/0.4125, allocations: 0.6715 MB / 0.5927 GB, free: 8.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.4136, allocations: 0.8646 MB / 0.5936 GB, free: 8.062 MB / 362.7 MB Notification: Performance of Backend: time 5.51e-07/0.4136, allocations: 0 / 0.5936 GB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.011/0.4246, allocations: 6.722 MB / 0.6001 GB, free: 1.098 MB / 362.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.006647/0.4313, allocations: 5.298 MB / 0.6053 GB, free: 11.71 MB / 378.7 MB Notification: Performance of Templates: time 0.0639/0.4952, allocations: 39 MB / 0.6434 GB, free: 4.777 MB / 410.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.makefile (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 -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe 2>&1)