Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.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.ControlledGridWithPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 175.8 kB / 15.43 MB, free: 5.707 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.384/1.384, allocations: 225.7 MB / 241.9 MB, free: 384 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.0007991/0.0007991, allocations: 89.33 kB / 293.1 MB, free: 12.88 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.06107/0.06107, allocations: 14.38 MB / 358.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 9.672 kB / 426 MB, free: 83.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08186, allocations: 53.94 MB / 479.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS): time 0.009695/0.09159, allocations: 14.64 MB / 494.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009873/0.1015, allocations: 7.813 MB / 0.4906 GB, free: 7.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.1043, allocations: 75.5 kB / 0.4907 GB, free: 7.113 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.1066, allocations: 0.6877 MB / 0.4914 GB, free: 6.422 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006318/0.113, allocations: 3.357 MB / 0.4946 GB, free: 2.801 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.116, allocations: 2.018 MB / 0.4966 GB, free: 0.6328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006626/0.1226, allocations: 4.938 MB / 0.5014 GB, free: 11.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.1241, allocations: 0.7053 MB / 0.5021 GB, free: 10.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.1267, allocations: 1.282 MB / 0.5034 GB, free: 9.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.1291, allocations: 1.446 MB / 0.5048 GB, free: 8.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.1297, allocations: 92 kB / 0.5049 GB, free: 8.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.1316, allocations: 459.7 kB / 0.5053 GB, free: 7.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.1322, allocations: 405.6 kB / 0.5057 GB, free: 7.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.1343, allocations: 1.388 MB / 0.5071 GB, free: 5.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.1388, allocations: 3.612 MB / 0.5106 GB, free: 2.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1389, allocations: 0 / 0.5106 GB, free: 2.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1389, allocations: 4 kB / 0.5106 GB, free: 2.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.139, allocations: 0 / 0.5106 GB, free: 2.234 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01088/0.1499, allocations: 3.635 MB / 0.5141 GB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1499, allocations: 8.031 kB / 0.5141 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.1517, allocations: 429 kB / 0.5146 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.1552, allocations: 1.765 MB / 0.5163 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.1554, allocations: 171.9 kB / 0.5164 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.1558, allocations: 216 kB / 0.5167 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.1599, allocations: 2.119 MB / 0.5187 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.16, allocations: 7.984 kB / 0.5187 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.1601, allocations: 80 kB / 0.5188 GB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.1602, allocations: 52 kB / 0.5189 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.164, allocations: 1.986 MB / 0.5208 GB, free: 7.59 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.1853/0.3493, allocations: 11.58 MB / 0.5321 GB, free: 55.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.3535, allocations: 2.784 MB / 0.5348 GB, free: 54.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.3549, allocations: 0.8778 MB / 0.5357 GB, free: 54.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.355, allocations: 29.81 kB / 0.5357 GB, free: 54.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.3567, allocations: 1.118 MB / 0.5368 GB, free: 53.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=209): time 4.458e-06/0.3567, allocations: 1.688 kB / 0.5368 GB, free: 53.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=210): time 0.01458/0.3713, allocations: 6.244 MB / 0.5429 GB, free: 51.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.3715, allocations: 364.4 kB / 0.5432 GB, free: 51.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.3741, allocations: 1.675 MB / 0.5449 GB, free: 50.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.3743, allocations: 72.52 kB / 0.545 GB, free: 50.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.3751, allocations: 1.043 MB / 0.546 GB, free: 49.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006212/0.3758, allocations: 0.7284 MB / 0.5467 GB, free: 48.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3759, allocations: 54.62 kB / 0.5467 GB, free: 48.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.376, allocations: 401.8 kB / 0.5471 GB, free: 48.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.3777, allocations: 0.8331 MB / 0.5479 GB, free: 48.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.3797, allocations: 1.375 MB / 0.5493 GB, free: 47.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.3831, allocations: 2.254 MB / 0.5515 GB, free: 45.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.3832, allocations: 3.188 kB / 0.5515 GB, free: 45.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008844/0.392, allocations: 3.755 MB / 0.5551 GB, free: 44.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.3923, allocations: 0.4917 MB / 0.5556 GB, free: 43.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.3923, allocations: 11.72 kB / 0.5556 GB, free: 43.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009423/0.4018, allocations: 1.895 MB / 0.5575 GB, free: 43.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.4042, allocations: 0.5193 MB / 0.558 GB, free: 42.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/0.4236, allocations: 20.85 MB / 0.5784 GB, free: 23.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.4261, allocations: 174 kB / 0.5785 GB, free: 23.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.4263, allocations: 95.98 kB / 0.5786 GB, free: 23.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.4263, allocations: 4 kB / 0.5786 GB, free: 23.11 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005252/0.4316, allocations: 2.859 MB / 0.5814 GB, free: 20.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.4316, allocations: 12 kB / 0.5814 GB, free: 20.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007087/0.4387, allocations: 1.455 MB / 0.5828 GB, free: 18.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.4408, allocations: 0.5266 MB / 0.5834 GB, free: 18.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.454, allocations: 17.56 MB / 0.6005 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.4563, allocations: 115.5 kB / 0.6006 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.4565, allocations: 99.98 kB / 0.6007 GB, free: 14.89 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,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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,0,66.7%), (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), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001313/0.4578, allocations: 0.6231 MB / 0.6013 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/0.4584, allocations: 249 kB / 0.6016 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.463, allocations: 2.375 MB / 0.6039 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.4631, allocations: 15.95 kB / 0.6039 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4631, allocations: 4 kB / 0.6039 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.4642, allocations: 473.9 kB / 0.6043 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/0.4646, allocations: 43.94 kB / 0.6044 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.4658, allocations: 115.6 kB / 0.6045 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.4662, allocations: 165.7 kB / 0.6047 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005982/0.4722, allocations: 2.495 MB / 0.6071 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004834/0.4771, allocations: 2.962 MB / 0.61 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00139/0.4785, allocations: 0.7926 MB / 0.6108 GB, free: 4.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001764/0.4803, allocations: 1.079 MB / 0.6118 GB, free: 3.395 MB / 378.7 MB Notification: Performance of Backend: time 5.92e-07/0.4803, allocations: 0 / 0.6118 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01427/0.4946, allocations: 7.556 MB / 0.6192 GB, free: 11.54 MB / 394.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.009481/0.5041, allocations: 6.391 MB / 0.6254 GB, free: 5.059 MB / 394.7 MB Notification: Performance of Templates: time 0.07292/0.577, allocations: 44.98 MB / 0.6694 GB, free: 8.176 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe 2>&1)