Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.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.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009297/0.0009298, allocations: 180.9 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.313/1.313, 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.0007539/0.0007539, allocations: 94.64 kB / 293 MB, free: 4.848 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.06092/0.06092, allocations: 14.37 MB / 358.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002968, allocations: 5.844 kB / 426 MB, free: 97.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07881, allocations: 53.95 MB / 479.9 MB, free: 55.46 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.00973/0.08858, allocations: 14.63 MB / 494.6 MB, free: 40.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009663/0.09828, allocations: 7.686 MB / 0.4905 GB, free: 32.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.1005, allocations: 71.56 kB / 0.4905 GB, free: 32.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.1025, allocations: 0.6798 MB / 0.4912 GB, free: 32.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005695/0.1082, allocations: 3.358 MB / 0.4945 GB, free: 28.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.1109, allocations: 2.01 MB / 0.4965 GB, free: 26.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004843/0.1158, allocations: 4.974 MB / 0.5013 GB, free: 21.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.117, allocations: 0.6979 MB / 0.502 GB, free: 20.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.1187, allocations: 1.298 MB / 0.5033 GB, free: 19.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.1203, allocations: 1.45 MB / 0.5047 GB, free: 17.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004267/0.1208, allocations: 92 kB / 0.5048 GB, free: 17.69 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1222, allocations: 467.7 kB / 0.5052 GB, free: 17.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.1226, allocations: 409.6 kB / 0.5056 GB, free: 16.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.124, allocations: 1.38 MB / 0.5069 GB, free: 15.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.1269, allocations: 3.624 MB / 0.5105 GB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1269, allocations: 0 / 0.5105 GB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1269, allocations: 0 / 0.5105 GB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.88e-05/0.127, allocations: 0 / 0.5105 GB, free: 11.8 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: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.009514/0.1365, allocations: 3.593 MB / 0.514 GB, free: 8.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1366, allocations: 8.031 kB / 0.514 GB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.138, allocations: 413 kB / 0.5144 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.1407, allocations: 1.781 MB / 0.5161 GB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/0.1408, allocations: 160.4 kB / 0.5163 GB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.1411, allocations: 235.8 kB / 0.5165 GB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/0.1444, allocations: 2.092 MB / 0.5186 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.1444, allocations: 7.938 kB / 0.5186 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.1446, allocations: 80 kB / 0.5186 GB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.1446, allocations: 52 kB / 0.5187 GB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.1478, allocations: 1.971 MB / 0.5206 GB, free: 1.246 MB / 346.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.01461/0.1624, allocations: 11.66 MB / 0.532 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.1664, allocations: 2.69 MB / 0.5346 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.1678, allocations: 0.8383 MB / 0.5355 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.826e-05/0.1679, allocations: 25.98 kB / 0.5355 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.1679, allocations: 56.56 kB / 0.5355 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=194): time 3.968e-06/0.168, allocations: 0 / 0.5355 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of matching and sorting (n=195): time 0.01331/0.1813, allocations: 5.618 MB / 0.541 GB, free: 11.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.1814, allocations: 184.1 kB / 0.5412 GB, free: 10.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.1839, allocations: 1.754 MB / 0.5429 GB, free: 9.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.1841, allocations: 69.7 kB / 0.543 GB, free: 8.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008793/0.1849, allocations: 1.092 MB / 0.544 GB, free: 7.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006208/0.1856, allocations: 0.6854 MB / 0.5447 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.1857, allocations: 56 kB / 0.5448 GB, free: 7.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1859, allocations: 407.4 kB / 0.5451 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.1876, allocations: 0.8564 MB / 0.546 GB, free: 5.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.1898, allocations: 1.494 MB / 0.5474 GB, free: 4.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.1935, allocations: 2.255 MB / 0.5496 GB, free: 1.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.1935, allocations: 8 kB / 0.5497 GB, free: 1.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.1775/0.371, allocations: 4.024 MB / 0.5536 GB, free: 72.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.3713, allocations: 0.5561 MB / 0.5541 GB, free: 72.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.3714, allocations: 15.72 kB / 0.5541 GB, free: 72.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008965/0.3803, allocations: 1.955 MB / 0.5561 GB, free: 72.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.3826, allocations: 0.5454 MB / 0.5566 GB, free: 72.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.403, allocations: 20.32 MB / 0.5764 GB, free: 57.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.4053, allocations: 199.5 kB / 0.5766 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.4055, allocations: 107.8 kB / 0.5767 GB, free: 57.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.4055, allocations: 3.938 kB / 0.5767 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004921/0.4105, allocations: 2.721 MB / 0.5794 GB, free: 57.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.4105, allocations: 19.78 kB / 0.5794 GB, free: 57.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005986/0.4165, allocations: 1.276 MB / 0.5806 GB, free: 56.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.419, allocations: 0.6128 MB / 0.5812 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.4296, allocations: 15.27 MB / 0.5962 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.4317, allocations: 120.7 kB / 0.5963 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/0.4319, allocations: 105.7 kB / 0.5964 GB, free: 42.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 5 (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 (287): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * 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.0009926/0.4329, allocations: 0.5564 MB / 0.5969 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.4333, allocations: 248.1 kB / 0.5972 GB, free: 41.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.4369, allocations: 2.163 MB / 0.5993 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.4369, allocations: 19.89 kB / 0.5993 GB, free: 39.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4369, allocations: 4 kB / 0.5993 GB, free: 39.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007355/0.4377, allocations: 449.9 kB / 0.5997 GB, free: 38.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.438, allocations: 47.98 kB / 0.5998 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.4391, allocations: 98.19 kB / 0.5999 GB, free: 38.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.4393, allocations: 153.8 kB / 0.6 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004528/0.4438, allocations: 2.169 MB / 0.6021 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003647/0.4475, allocations: 2.723 MB / 0.6048 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001027/0.4486, allocations: 0.7223 MB / 0.6055 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001413/0.45, allocations: 1.124 MB / 0.6066 GB, free: 31.87 MB / 378.7 MB Notification: Performance of Backend: time 7.31e-07/0.45, allocations: 0 / 0.6066 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01128/0.4613, allocations: 7.061 MB / 0.6135 GB, free: 24.58 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.007013/0.4684, allocations: 6.265 MB / 0.6196 GB, free: 18.27 MB / 378.7 MB Notification: Performance of Templates: time 0.06869/0.5371, allocations: 43.59 MB / 0.6622 GB, free: 6.777 MB / 410.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)