Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadModel(PowerSystems): time 2.325/2.325, allocations: 232.9 MB / 248.1 MB, free: 11.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.159e-05, allocations: 4 kB / 304.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4042, allocations: 53.21 MB / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01106/0.4154, allocations: 6.909 MB / 364.5 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.4216, allocations: 2.394 MB / 366.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.4225, allocations: 51.69 kB / 366.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.4232, allocations: 178.9 kB / 367.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.4248, allocations: 466.4 kB / 367.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.4263, allocations: 431.2 kB / 368 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.4281, allocations: 0.8934 MB / 368.9 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.4299, allocations: 0.8928 MB / 369.8 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.431, allocations: 0.5105 MB / 370.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.4324, allocations: 0.651 MB / 370.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.4338, allocations: 0.5032 MB / 371.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.4341, allocations: 72 kB / 371.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008009/0.4349, allocations: 0.495 MB / 372 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.4354, allocations: 104 kB / 372.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.4378, allocations: 1.563 MB / 373.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4378, allocations: 0 / 373.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.132e-06/0.4378, allocations: 4 kB / 373.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.4379, allocations: 0 / 373.7 MB, free: 15.43 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006202/0.4441, allocations: 1.621 MB / 375.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4441, allocations: 12.03 kB / 375.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.4455, allocations: 182.5 kB / 375.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.4486, allocations: 0.8804 MB / 376.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.4496, allocations: 0.5217 MB / 376.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005163/0.4501, allocations: 104 kB / 377 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007432/0.4576, allocations: 2.122 MB / 379.1 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.4577, allocations: 7.938 kB / 379.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.4579, allocations: 43.98 kB / 379.2 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003816/0.4583, allocations: 85.95 kB / 379.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00984/0.4682, allocations: 2.42 MB / 381.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.484, allocations: 5.848 MB / 387.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008087/0.4921, allocations: 1.755 MB / 389.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.4923, allocations: 13.05 kB / 389.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005459/0.4978, allocations: 1.411 MB / 390.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 4.899e-06/0.4979, allocations: 0 / 390.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.05549/0.5534, allocations: 10.53 MB / 401.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.5535, allocations: 102.1 kB / 401.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.5545, allocations: 462 kB / 401.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.5549, allocations: 49.7 kB / 401.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.5553, allocations: 450.6 kB / 402.3 MB, free: 2.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.5559, allocations: 390.5 kB / 402.6 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.556, allocations: 24 kB / 402.7 MB, free: 1.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.5562, allocations: 358.8 kB / 403 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003791/0.56, allocations: 1.025 MB / 404 MB, free: 428 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003984/0.564, allocations: 1.217 MB / 405.3 MB, free: 15.14 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02224/0.5863, allocations: 4.66 MB / 409.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5863, allocations: 7.938 kB / 409.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.02636/0.6127, allocations: 5.137 MB / 415.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.6129, allocations: 65.67 kB / 415.1 MB, free: 5.223 MB / 346.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00428/0.6172, allocations: 1.104 MB / 416.2 MB, free: 4.105 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated