Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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: translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007367/0.007367, allocations: 101.1 kB / 15.88 MB, free: 6.305 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.001624/0.001624, allocations: 193.4 kB / 16.79 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1674/0.1674, allocations: 12.02 MB / 302.6 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004924/0.0004923, allocations: 35.89 kB / 355.7 MB, free: 4.043 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.841/1.841, allocations: 272.2 MB / 0.665 GB, free: 13.1 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 113.5 kB / 0.7848 GB, free: 31.79 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2382, allocations: 109.2 MB / 0.8914 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01861/0.2568, allocations: 19.15 MB / 0.9101 GB, free: 9.605 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.007113/0.264, allocations: 5.064 MB / 0.915 GB, free: 4.527 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.2646, allocations: 15.88 kB / 0.915 GB, free: 4.512 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.2656, allocations: 322.7 kB / 0.9154 GB, free: 4.195 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.2675, allocations: 0.6921 MB / 0.916 GB, free: 3.5 MB / 0.6232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2021/Fluid/Movers/Pump.mo:39:3-39:48:writable] Warning: Conditional component ‘V_flow‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2021/Fluid/Movers/Pump.mo:49:7-49:152:writable] Warning: Conditional component ‘V_flow‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.2692, allocations: 0.6252 MB / 0.9166 GB, free: 2.879 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.2708, allocations: 1.48 MB / 0.9181 GB, free: 1.398 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.2713, allocations: 317.4 kB / 0.9184 GB, free: 1.082 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008628/0.2721, allocations: 477.9 kB / 0.9188 GB, free: 0.6133 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.2727, allocations: 426.3 kB / 0.9193 GB, free: 200 kB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.2727, allocations: 28 kB / 0.9193 GB, free: 172 kB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.2743, allocations: 0.7799 MB / 0.92 GB, free: 15.39 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.2745, allocations: 179.4 kB / 0.9202 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.2748, allocations: 306.2 kB / 0.9205 GB, free: 14.91 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2759, allocations: 0.8381 MB / 0.9213 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2759, allocations: 0 / 0.9213 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2759, allocations: 0 / 0.9213 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.2759, allocations: 0 / 0.9213 GB, free: 14.07 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001909/0.2779, allocations: 1.078 MB / 0.9224 GB, free: 12.94 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2779, allocations: 8.594 kB / 0.9224 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.2781, allocations: 76.09 kB / 0.9225 GB, free: 12.86 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.2792, allocations: 0.6707 MB / 0.9231 GB, free: 12.14 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.2792, allocations: 42.14 kB / 0.9232 GB, free: 12.1 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.2793, allocations: 27.94 kB / 0.9232 GB, free: 12.07 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.2798, allocations: 271.2 kB / 0.9234 GB, free: 11.8 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2798, allocations: 3.984 kB / 0.9234 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.2799, allocations: 16 kB / 0.9235 GB, free: 11.78 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2799, allocations: 4 kB / 0.9235 GB, free: 11.77 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.2805, allocations: 277.6 kB / 0.9237 GB, free: 11.5 MB / 0.6388 GB 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.00226/0.2828, allocations: 1.648 MB / 0.9253 GB, free: 9.691 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.2837, allocations: 278.6 kB / 0.9256 GB, free: 9.41 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.2839, allocations: 128.7 kB / 0.9257 GB, free: 9.281 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.2854, allocations: 1.476 MB / 0.9272 GB, free: 7.594 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.2857, allocations: 154.6 kB / 0.9273 GB, free: 7.434 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00015/0.2859, allocations: 39.81 kB / 0.9273 GB, free: 7.395 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.2859, allocations: 0 / 0.9273 GB, free: 7.395 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.006205/0.2921, allocations: 1.006 MB / 0.9283 GB, free: 6.359 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2922, allocations: 59.34 kB / 0.9284 GB, free: 6.289 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.2933, allocations: 0.9105 MB / 0.9293 GB, free: 5.367 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.2933, allocations: 29.7 kB / 0.9293 GB, free: 5.332 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.2936, allocations: 296.5 kB / 0.9296 GB, free: 5.039 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.2936, allocations: 78.94 kB / 0.9297 GB, free: 4.961 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.2937, allocations: 65.92 kB / 0.9297 GB, free: 4.891 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2939, allocations: 314 kB / 0.93 GB, free: 4.578 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.294, allocations: 77.77 kB / 0.9301 GB, free: 4.5 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2942, allocations: 162.2 kB / 0.9303 GB, free: 4.309 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.2946, allocations: 211.2 kB / 0.9305 GB, free: 4.086 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2946, allocations: 0 / 0.9305 GB, free: 4.086 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002637/0.2973, allocations: 0.5363 MB / 0.931 GB, free: 3.539 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2973, allocations: 4.938 kB / 0.931 GB, free: 3.535 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2973, allocations: 0 / 0.931 GB, free: 3.535 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.2996, allocations: 328.6 kB / 0.9313 GB, free: 3.211 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2998, allocations: 23.98 kB / 0.9313 GB, free: 3.188 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.3029, allocations: 6.352 MB / 0.9375 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.3034, allocations: 31.94 kB / 0.9376 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3035, allocations: 12 kB / 0.9376 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003956/0.3039, allocations: 252 kB / 0.9378 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001982/0.3041, allocations: 153.5 kB / 0.938 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00031/0.3044, allocations: 203.8 kB / 0.9381 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/0.3044, allocations: 3.984 kB / 0.9381 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.002584/0.307, allocations: 0.5245 MB / 0.9387 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.307, allocations: 8 kB / 0.9387 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3071, allocations: 0 / 0.9387 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.3088, allocations: 276.6 kB / 0.9389 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.309, allocations: 27.92 kB / 0.939 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3119, allocations: 6.33 MB / 0.9451 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.3124, allocations: 31.91 kB / 0.9452 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3124, allocations: 11.98 kB / 0.9452 GB, free: 4.102 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,NightSignal.pulseStart,$PRE.NightSignal.pulseStart,NightSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.3126, allocations: 205.2 kB / 0.9454 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3127, allocations: 59.25 kB / 0.9454 GB, free: 3.836 MB / 0.6544 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too few equations, under-determined system. The model has 38 equation(s) and 40 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007859/0.3135, allocations: 392.5 kB / 0.9458 GB, free: 3.469 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.