Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.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.0009129/0.0009129, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8539/0.8539, allocations: 177.1 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001237/0.001237, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2555/0.2555, allocations: 80.36 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Microgrids_IEEEMicrogrid_IEEEMicrogrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Microgrids_IEEEMicrogrid_IEEEMicrogrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.976e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid): time 0.02094/0.02096, allocations: 28.43 MB / 0.5827 GB, free: 40 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.03905, allocations: 12.15 MB / 0.5946 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005835/0.04489, allocations: 182.8 kB / 0.5947 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.04972, allocations: 1.456 MB / 0.5962 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.1948/0.2445, allocations: 2.69 MB / 0.5988 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007238/0.2518, allocations: 4.717 MB / 0.6034 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009833/0.2616, allocations: 10.01 MB / 0.6132 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003393/0.265, allocations: 1.706 MB / 0.6148 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009431/0.2744, allocations: 5.349 MB / 0.6201 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005067/0.2795, allocations: 3.259 MB / 0.6233 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003025/0.2825, allocations: 0.9742 MB / 0.6242 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.286, allocations: 1.228 MB / 0.6254 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.2889, allocations: 2.108 MB / 0.6275 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005001/0.2939, allocations: 2.656 MB / 0.6301 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.3058, allocations: 11.79 MB / 0.6416 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3058, allocations: 0 / 0.6416 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3058, allocations: 0 / 0.6416 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000401/0.3062, allocations: 3.281 kB / 0.6416 GB, free: 45.07 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.024/0.3302, allocations: 12.39 MB / 0.6537 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3302, allocations: 9 kB / 0.6537 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001764/0.332, allocations: 0.6902 MB / 0.6544 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.3369, allocations: 1.564 MB / 0.6559 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007692/0.3446, allocations: 4.47 MB / 0.6603 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007285/0.3453, allocations: 1.609 MB / 0.6618 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.347, allocations: 0.54 MB / 0.6623 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.359, allocations: 7.862 MB / 0.67 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.503e-05/0.3591, allocations: 9.719 kB / 0.67 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006429/0.3597, allocations: 222.4 kB / 0.6702 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/0.3598, allocations: 128.8 kB / 0.6704 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3707, allocations: 6.263 MB / 0.6765 GB, free: 19.82 MB / 0.5105 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.03492/0.4057, allocations: 20.71 MB / 0.6967 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.4211, allocations: 9.071 MB / 0.7056 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006314/0.4275, allocations: 3.284 MB / 0.7088 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/0.428, allocations: 123.2 kB / 0.7089 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006678/0.4347, allocations: 4.166 MB / 0.713 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=554): time 9.298e-06/0.4347, allocations: 0 / 0.713 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=554): time 0.064/0.4987, allocations: 28.15 MB / 0.7405 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004113/0.4991, allocations: 1.337 MB / 0.7418 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008275/0.5074, allocations: 5.201 MB / 0.7468 GB, free: 11.64 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001475/0.5088, allocations: 137.7 kB / 0.747 GB, free: 11.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.5112, allocations: 2.803 MB / 0.7497 GB, free: 8.695 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002872/0.5141, allocations: 1.977 MB / 0.7516 GB, free: 6.746 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/0.5162, allocations: 1.143 MB / 0.7528 GB, free: 5.594 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.5163, allocations: 309 kB / 0.7531 GB, free: 5.289 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/0.5214, allocations: 3.219 MB / 0.7562 GB, free: 2.059 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007388/0.5288, allocations: 5.167 MB / 0.7612 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03871/0.5675, allocations: 17.32 MB / 0.7782 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.5675, allocations: 4 kB / 0.7782 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.02519/0.5927, allocations: 12.07 MB / 0.79 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.5928, allocations: 12 kB / 0.79 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.5928, allocations: 20.12 kB / 0.79 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007293/0.6001, allocations: 3.539 MB / 0.7934 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004973/0.6051, allocations: 1.603 MB / 0.795 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/0.6283, allocations: 18.29 MB / 0.8129 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/0.6349, allocations: 0.9524 MB / 0.8138 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/0.6364, allocations: 231.9 kB / 0.814 GB, free: 5.633 MB / 0.6355 GB Warning: Assuming fixed start value for the following 10 variables: Diesel.gENROE.Epd:VARIABLE(start = Diesel.gENROE.Epd0 unit = \"1\" fixed = true ) \"d-axis voltage behind transient reactance\" type: Real Diesel.gENROE.Epq:VARIABLE(start = Diesel.gENROE.Epq0 unit = \"1\" fixed = true ) \"q-axis voltage behind transient reactance\" type: Real Motor2.Eki:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor2.Ekr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor2.Epi:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage behind transient reactance\" type: Real Motor2.Epr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage behind transient reactance\" type: Real Motor1.Eki:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor1.Ekr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor1.Epi:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage behind transient reactance\" type: Real Motor1.Epr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage behind transient reactance\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007854/0.6443, allocations: 3.583 MB / 0.8175 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006443/0.6507, allocations: 4.659 MB / 0.8221 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03634/0.687, allocations: 16.01 MB / 0.8377 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.51e-05/0.6871, allocations: 4 kB / 0.8377 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=834) (initialization_lambda0): time 0.02062/0.7077, allocations: 10.65 MB / 0.8481 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.7077, allocations: 15.94 kB / 0.8481 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.7077, allocations: 16 kB / 0.8481 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2066/0.9143, allocations: 3.241 MB / 0.8513 GB, free: 225.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.9192, allocations: 1.485 MB / 0.8528 GB, free: 225.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.9352, allocations: 13.69 MB / 0.8661 GB, free: 221.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/0.9409, allocations: 0.7622 MB / 0.8669 GB, free: 221.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/0.9421, allocations: 218.9 kB / 0.8671 GB, free: 221 MB / 0.6667 GB Warning: Assuming fixed start value for the following 10 variables: Diesel.gENROE.Epd:VARIABLE(start = Diesel.gENROE.Epd0 unit = \"1\" fixed = true ) \"d-axis voltage behind transient reactance\" type: Real Diesel.gENROE.Epq:VARIABLE(start = Diesel.gENROE.Epq0 unit = \"1\" fixed = true ) \"q-axis voltage behind transient reactance\" type: Real Motor2.Eki:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor2.Ekr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor2.Epi:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage behind transient reactance\" type: Real Motor2.Epr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage behind transient reactance\" type: Real Motor1.Eki:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor1.Ekr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage component related to 2nd cage for sub-transient reactance\" type: Real Motor1.Epi:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary voltage behind transient reactance\" type: Real Motor1.Epr:VARIABLE(unit = \"1\" fixed = true ) \"Real voltage behind transient reactance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 25 (aC2DCandDC2AC1.switch.control,BESS.RenewableController.Voltage_dip,PV.RenewableController.Voltage_dip,aC2DCandDC2AC.switch.control,BreakerGrid.Open,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,voltsHertzController1.integrator.local_reset,BESS.RenewableController.integrator4.local_reset,BESS.RenewableController.integrator2.local_reset,BESS.RenewableController.integrator.local_reset,BESS.RenewableController.integrator1.local_reset,BESS.RenewableController.integrator3.local_reset,BESS.RenewableGenerator.integrator1.local_reset,BESS.RenewableGenerator.integrator.local_reset,PV.RenewableController.integrator3.local_reset,PV.RenewableController.integrator2.local_reset,PV.RenewableController.integrator1.local_reset,PV.RenewableController.integrator.local_reset,PV.RenewableGenerator.integrator1.local_reset,PV.RenewableGenerator.integrator.local_reset,voltsHertzController.integrator.local_reset,Diesel.dEGOV.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 731 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 8 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (22,12,22.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,5), (1,6), (1,8), (2,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.9439, allocations: 0.5596 MB / 0.8676 GB, free: 220.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/0.9457, allocations: 0.6757 MB / 0.8683 GB, free: 220.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/0.9671, allocations: 11.7 MB / 0.8797 GB, free: 217.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.52e-05/0.9671, allocations: 61.03 kB / 0.8798 GB, free: 217.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.9672, allocations: 12.94 kB / 0.8798 GB, free: 217.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001403/0.9673, allocations: 30.98 kB / 0.8798 GB, free: 217.3 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.03712/1.004, allocations: 19.49 MB / 0.8988 GB, free: 209.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/1.004, allocations: 3.969 kB / 0.8989 GB, free: 209.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/1.008, allocations: 0.9371 MB / 0.8998 GB, free: 209.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006869/1.014, allocations: 4.044 MB / 0.9037 GB, free: 208 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001024/1.016, allocations: 127.5 kB / 0.9038 GB, free: 207.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03065/1.046, allocations: 24.65 MB / 0.9279 GB, free: 185.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.046, allocations: 9.156 kB / 0.9279 GB, free: 185.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02716/1.073, allocations: 15.83 MB / 0.9434 GB, free: 169.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003992/1.077, allocations: 1.374 MB / 0.9447 GB, free: 168.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.079, allocations: 119.9 kB / 0.9448 GB, free: 168.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00414/1.083, allocations: 0.5228 MB / 0.9453 GB, free: 167.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001784/1.085, allocations: 0.664 MB / 0.946 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/1.085, allocations: 144 kB / 0.9461 GB, free: 167 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.004486/1.09, allocations: 3.424 MB / 0.9495 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.31e-07/1.09, allocations: 0 / 0.9495 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.009866/1.1, allocations: 3.057 MB / 0.9525 GB, free: 160.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 55 (GRID.omega,GRID.delta,GRID.eq,Diesel.gENROE.w,Diesel.gENROE.delta,Diesel.gENROE.Epd,Diesel.gENROE.Epq,Diesel.gENROE.PSIkd,Diesel.gENROE.PSIkq,Diesel.sEXS.simpleLagLim.state,Diesel.sEXS.leadLag.TF.x_scaled[1],Diesel.dEGOV.transferFunction.x_scaled[1],Diesel.dEGOV.transferFunction.x_scaled[2],Diesel.dEGOV.integrator.y,Diesel.dEGOV.leadLag.TF.x_scaled[1],Diesel.dEGOV.simpleLagLim.state,aC2DCandDC2AC.Inductor.i,aC2DCandDC2AC.Capacitor.v,voltsHertzController.Speed_Sensor.state,voltsHertzController.integrator.y,voltsHertzController.firstOrder.y,Motor1.s,Motor1.Epr,Motor1.Epi,Motor1.Ekr,Motor1.Eki,PV.RenewableGenerator.simpleLag.state,PV.RenewableGenerator.integrator.y,PV.RenewableGenerator.integrator1.y,PV.RenewableController.integrator.y,PV.RenewableController.integrator1.y,PV.RenewableController.integrator2.y,PV.RenewableController.simpleLag.state,PV.RenewableController.simpleLag1.state,PV.RenewableController.integrator3.y,BESS.RenewableGenerator.simpleLag.state,BESS.RenewableGenerator.integrator.y,BESS.RenewableGenerator.integrator1.y,BESS.RenewableController.integrator3.y,BESS.RenewableController.integrator1.y,BESS.RenewableController.integrator.y,BESS.RenewableController.integrator2.y,BESS.RenewableController.integrator4.y,BESS.RenewableController.simpleLag.state,BESS.RenewableController.simpleLag1.state,aC2DCandDC2AC1.Inductor.i,aC2DCandDC2AC1.Capacitor.v,voltsHertzController1.Speed_Sensor.state,voltsHertzController1.integrator.y,voltsHertzController1.firstOrder.y,Motor2.s,Motor2.Epr,Motor2.Epi,Motor2.Ekr,Motor2.Eki) * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BreakerGrid.Open,aC2DCandDC2AC.switch.control,PV.RenewableController.Voltage_dip,BESS.RenewableController.Voltage_dip,aC2DCandDC2AC1.switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (440): * Single equations (assignments): 435 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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): 3 systems {(1,6), (1,8), (46,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02657/1.126, allocations: 16.78 MB / 0.9688 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02335/1.15, allocations: 13.62 MB / 0.9821 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.15, allocations: 4 kB / 0.9822 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009873/1.16, allocations: 5.58 MB / 0.9876 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/1.166, allocations: 0.8779 MB / 0.9885 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/1.272, allocations: 61.46 MB / 1.048 GB, free: 60.81 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/1.275, allocations: 2.757 MB / 1.051 GB, free: 58.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003898/1.279, allocations: 0.8099 MB / 1.052 GB, free: 57.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004024/1.283, allocations: 2.972 MB / 1.055 GB, free: 54.23 MB / 0.6667 GB Notification: Performance of SimCode: time 1.924e-06/1.283, allocations: 4 kB / 1.055 GB, free: 54.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3695/1.652, allocations: 177.5 MB / 1.228 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/17.4, allocations: 9.469 kB / 1.228 GB, free: 129.9 MB / 0.6667 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 OpenIPSL_dev_OpenIPSL_Examples_Microgrids_IEEEMicrogrid_IEEEMicrogrid.fmu > OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.773483938537538] Failed to read output from testmodel.py, exit status != 0: 17.59304589033127 17.598554686 17.291220055 Calling exit ...