Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.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.Static.StaticGridDifferentGeneratorParam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, 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.332/1.332, 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.0008372/0.0008373, allocations: 88.25 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.06241/0.06241, allocations: 14.38 MB / 358.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003192, allocations: 6.812 kB / 426 MB, free: 97.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08036, allocations: 53.96 MB / 479.9 MB, free: 55.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam): time 0.01844/0.09884, allocations: 30.02 MB / 0.498 GB, free: 25.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.1165, allocations: 13.17 MB / 0.5109 GB, free: 11.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/0.1214, allocations: 91.62 kB / 0.511 GB, free: 11.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.1256, allocations: 1.4 MB / 0.5123 GB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.138, allocations: 5.744 MB / 0.5179 GB, free: 4.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.1417, allocations: 1.971 MB / 0.5199 GB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.1551, allocations: 10.9 MB / 0.5305 GB, free: 7.262 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.1568, allocations: 0.6367 MB / 0.5311 GB, free: 6.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.1618, allocations: 2.787 MB / 0.5339 GB, free: 3.789 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005185/0.1671, allocations: 3.177 MB / 0.537 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.1682, allocations: 188 kB / 0.5371 GB, free: 424 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.1716, allocations: 0.7263 MB / 0.5378 GB, free: 15.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009825/0.1726, allocations: 0.7495 MB / 0.5386 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004599/0.1772, allocations: 2.783 MB / 0.5413 GB, free: 12.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008134/0.1854, allocations: 6.543 MB / 0.5477 GB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1854, allocations: 0 / 0.5477 GB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1854, allocations: 0 / 0.5477 GB, free: 5.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001259/0.1856, allocations: 0 / 0.5477 GB, free: 5.562 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 971 * Number of variables: 971 Notification: Performance of Generate backend data structure: time 0.1843/0.3699, allocations: 7.006 MB / 0.5545 GB, free: 70.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3699, allocations: 10.16 kB / 0.5545 GB, free: 70.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.3735, allocations: 0.8077 MB / 0.5553 GB, free: 69.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/0.38, allocations: 2.97 MB / 0.5582 GB, free: 68.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/0.3803, allocations: 312.1 kB / 0.5585 GB, free: 68.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009362/0.3813, allocations: 417 kB / 0.5589 GB, free: 68.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/0.3893, allocations: 3.733 MB / 0.5626 GB, free: 68.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.819e-05/0.3894, allocations: 8.969 kB / 0.5626 GB, free: 68.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.3897, allocations: 157.5 kB / 0.5627 GB, free: 68.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.317e-05/0.3898, allocations: 91.91 kB / 0.5628 GB, free: 68.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008029/0.3978, allocations: 3.878 MB / 0.5666 GB, free: 68.03 MB / 378.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.02709/0.425, allocations: 24.57 MB / 0.5906 GB, free: 45.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006204/0.4312, allocations: 6.361 MB / 0.5968 GB, free: 40.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.4333, allocations: 1.505 MB / 0.5983 GB, free: 39.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.4335, allocations: 55.23 kB / 0.5983 GB, free: 39.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4335, allocations: 77.34 kB / 0.5984 GB, free: 39.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=420): time 6.282e-06/0.4335, allocations: 0 / 0.5984 GB, free: 39.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=423): time 0.02681/0.4604, allocations: 11.75 MB / 0.6099 GB, free: 28.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.4604, allocations: 102.7 kB / 0.61 GB, free: 28.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.4638, allocations: 2.967 MB / 0.6129 GB, free: 25.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004763/0.4643, allocations: 109.7 kB / 0.613 GB, free: 25.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009293/0.4653, allocations: 1.894 MB / 0.6148 GB, free: 23.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.4665, allocations: 1.492 MB / 0.6163 GB, free: 22.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.4667, allocations: 120 kB / 0.6164 GB, free: 21.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4669, allocations: 0.5159 MB / 0.6169 GB, free: 21.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.4691, allocations: 1.554 MB / 0.6184 GB, free: 19.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.4719, allocations: 2.9 MB / 0.6213 GB, free: 16.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.4767, allocations: 4.617 MB / 0.6258 GB, free: 11.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.4768, allocations: 12 kB / 0.6258 GB, free: 11.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01156/0.4883, allocations: 6.525 MB / 0.6321 GB, free: 4.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.4884, allocations: 20.19 kB / 0.6322 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/0.4885, allocations: 44 kB / 0.6322 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01417/0.5027, allocations: 3.019 MB / 0.6352 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004855/0.5075, allocations: 1.295 MB / 0.6364 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03198/0.5395, allocations: 32.25 MB / 0.6679 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.5445, allocations: 338.1 kB / 0.6682 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000703/0.5452, allocations: 239.9 kB / 0.6685 GB, free: 12.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (677): * Single equations (assignments): 657 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(23,0), (2,0), (2,0), (2,0), (2,0), (23,0), (2,0), (2,0), (2,0), (2,0), (23,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.547, allocations: 0.8288 MB / 0.6693 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/0.5479, allocations: 458.5 kB / 0.6697 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008349/0.5563, allocations: 4.477 MB / 0.6741 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.636e-05/0.5564, allocations: 19.92 kB / 0.6741 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.5564, allocations: 0 / 0.6741 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/0.5583, allocations: 0.7764 MB / 0.6749 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/0.559, allocations: 72 kB / 0.6749 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.5611, allocations: 151.1 kB / 0.6751 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/0.5616, allocations: 326.8 kB / 0.6754 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009785/0.5714, allocations: 4.194 MB / 0.6795 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007044/0.5785, allocations: 4.712 MB / 0.6841 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001807/0.5803, allocations: 1.217 MB / 0.6853 GB, free: 11.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002578/0.5829, allocations: 1.84 MB / 0.6871 GB, free: 9.66 MB / 442.7 MB Notification: Performance of Backend: time 3.71e-07/0.5829, allocations: 0 / 0.6871 GB, free: 9.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/0.5962, allocations: 6.942 MB / 0.6938 GB, free: 2.527 MB / 442.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.02369/0.62, allocations: 11.08 MB / 0.7047 GB, free: 7.398 MB / 458.7 MB Notification: Performance of Templates: time 0.2545/0.8745, allocations: 56.73 MB / 0.7601 GB, free: 136.9 MB / 474.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe 2>&1)