Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_substation_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.000825, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2224/0.2224, allocations: 22.36 MB / 313.4 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 382 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.298, allocations: 55.97 MB / 438 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.007829/0.3059, allocations: 10.89 MB / 448.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.3117, allocations: 3.229 MB / 452.1 MB, free: 28.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.313, allocations: 62.88 kB / 452.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.3137, allocations: 367.2 kB / 452.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.3156, allocations: 1.22 MB / 453.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.3169, allocations: 0.5234 MB / 454.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004768/0.3217, allocations: 6.198 MB / 460.5 MB, free: 24.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.3262, allocations: 3.348 MB / 463.8 MB, free: 23.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.3295, allocations: 1.789 MB / 465.6 MB, free: 23.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.3339, allocations: 2.426 MB / 468.1 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.3347, allocations: 270 kB / 468.3 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3359, allocations: 271 kB / 468.6 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.3374, allocations: 1.4 MB / 470 MB, free: 21.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.3388, allocations: 0.8566 MB / 470.8 MB, free: 21.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006702/0.3455, allocations: 6.508 MB / 477.4 MB, free: 18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3455, allocations: 5.094 kB / 477.4 MB, free: 18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3456, allocations: 0 / 477.4 MB, free: 18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002002/0.3458, allocations: 0 / 477.4 MB, free: 18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01086/0.3566, allocations: 4.194 MB / 481.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3567, allocations: 10.28 kB / 481.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001021/0.3577, allocations: 465.5 kB / 482 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.3586, allocations: 423.4 kB / 482.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.3621, allocations: 2.29 MB / 484.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.3623, allocations: 280.7 kB / 485 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005957/0.3629, allocations: 361.5 kB / 485.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/0.3701, allocations: 4.339 MB / 489.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.3701, allocations: 0 / 489.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.3705, allocations: 132 kB / 489.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.3705, allocations: 83.95 kB / 489.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005751/0.3763, allocations: 3.989 MB / 493.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.403, allocations: 20.32 MB / 0.5022 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.414, allocations: 5.593 MB / 0.5076 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003725/0.4178, allocations: 2.165 MB / 0.5097 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.418, allocations: 46.14 kB / 0.5098 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.4181, allocations: 64.69 kB / 0.5098 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001778/0.4199, allocations: 246 kB / 0.5101 GB, free: 7.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 5.48e-06/0.4199, allocations: 0 / 0.5101 GB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.03166/0.4515, allocations: 17.06 MB / 0.5267 GB, free: 5.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4516, allocations: 81.61 kB / 0.5268 GB, free: 5.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.455, allocations: 1.69 MB / 0.5285 GB, free: 3.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.4555, allocations: 73.7 kB / 0.5285 GB, free: 3.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.4565, allocations: 1.296 MB / 0.5298 GB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.4581, allocations: 1.047 MB / 0.5308 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.4585, allocations: 60 kB / 0.5309 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.4588, allocations: 432.4 kB / 0.5313 GB, free: 416 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/0.4624, allocations: 2.145 MB / 0.5334 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/0.466, allocations: 2.283 MB / 0.5356 GB, free: 11.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.4697, allocations: 2.397 MB / 0.538 GB, free: 9.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4697, allocations: 0 / 0.538 GB, free: 9.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01209/0.4818, allocations: 6.532 MB / 0.5443 GB, free: 2.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.482, allocations: 198.1 kB / 0.5445 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.482, allocations: 3.984 kB / 0.5445 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.4875, allocations: 1.88 MB / 0.5464 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.4915, allocations: 0.7998 MB / 0.5471 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2641/0.7556, allocations: 70.97 MB / 0.6165 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.7589, allocations: 204.3 kB / 0.6166 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.7592, allocations: 100.3 kB / 0.6167 GB, free: 103.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.7592, allocations: 9.188 kB / 0.6168 GB, free: 103.4 MB / 462.1 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 replaceHomotopyWithSimplified (initialization): time 0.003659/0.7629, allocations: 2.33 MB / 0.619 GB, free: 102.3 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated