Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 76.16 kB / 9.888 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002603, allocations: 441.7 kB / 10.32 MB, free: 376 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 153.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002527, allocations: 467.5 kB / 11.66 MB, free: 2.5 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9381/0.9381, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07705/1.015, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1339/0.1339, allocations: 29.44 MB / 273.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1287/0.2626, allocations: 9.525 MB / 282.9 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 284.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.561e-06/6.673e-06, allocations: 2.859 kB / 284.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00491/0.004917, allocations: 6.16 MB / 290.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.007892, allocations: 2.384 MB / 292.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.008161, allocations: 42.91 kB / 292.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.00884, allocations: 457.7 kB / 293.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.009667, allocations: 0.6233 MB / 293.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.01042, allocations: 0.5302 MB / 294.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.01185, allocations: 2.043 MB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.01251, allocations: 0.6742 MB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.01357, allocations: 1.17 MB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008296/0.0144, allocations: 0.8613 MB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.01456, allocations: 144 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.01527, allocations: 0.6551 MB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.01563, allocations: 0.5652 MB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.01596, allocations: 383.4 kB / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01698, allocations: 1.297 MB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.01698, allocations: 4 kB / 302.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01699, allocations: 0 / 302.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.01701, allocations: 0 / 302.1 MB, free: 12.85 MB / 298.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.00209/0.0191, allocations: 1.861 MB / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.01913, allocations: 8.031 kB / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.01927, allocations: 172.6 kB / 304.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/0.01988, allocations: 357.7 kB / 304.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.02057, allocations: 0.6586 MB / 305.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.02103, allocations: 1.101 MB / 306.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.02119, allocations: 104.5 kB / 306.4 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.02228, allocations: 1.03 MB / 307.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.02231, allocations: 3.938 kB / 307.4 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.02238, allocations: 36 kB / 307.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.02249, allocations: 85.94 kB / 307.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/0.02324, allocations: 0.5395 MB / 308.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.02704, allocations: 3.716 MB / 311.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.02775, allocations: 0.5433 MB / 312.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.02809, allocations: 286.4 kB / 312.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.02815, allocations: 21 kB / 312.6 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.0287, allocations: 0.5811 MB / 313.2 MB, free: 1.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 2.074e-06/0.0287, allocations: 0 / 313.2 MB, free: 1.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=118): time 0.006113/0.03481, allocations: 3.436 MB / 316.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.03486, allocations: 110 kB / 316.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.03512, allocations: 455 kB / 317.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.03519, allocations: 53.7 kB / 317.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.03532, allocations: 350.4 kB / 317.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.03553, allocations: 400.5 kB / 318 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.03577, allocations: 206.7 kB / 318.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.03588, allocations: 398.6 kB / 318.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.0362, allocations: 291.1 kB / 318.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.03656, allocations: 455.9 kB / 319.3 MB, free: 10.94 MB / 314.7 MB 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.0009596/0.03752, allocations: 1.066 MB / 320.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.03752, allocations: 0 / 320.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003193/0.04071, allocations: 1.965 MB / 322.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.04076, allocations: 65.61 kB / 322.4 MB, free: 7.742 MB / 314.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.0004021/0.04116, allocations: 359.3 kB / 322.7 MB, free: 7.391 MB / 314.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6740987244993448]