Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.5 MB / 229.6 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 96.61 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4854/0.4854, allocations: 78.08 MB / 409.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.154e-05, allocations: 7.938 kB / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 69.37 MB / 0.5414 GB, free: 6.742 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.609, allocations: 115.5 MB / 0.6542 GB, free: 15.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.6094, allocations: 91.88 kB / 0.6543 GB, free: 15.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1378/0.7473, allocations: 48.87 MB / 0.702 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7473, allocations: 3.938 kB / 0.702 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001065/0.7474, allocations: 40 kB / 0.702 GB, free: 14.89 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.006695/0.7541, allocations: 2.268 MB / 0.7043 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.7542, allocations: 8.031 kB / 0.7043 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.7579, allocations: 0.5868 MB / 0.7048 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.761, allocations: 1.145 MB / 0.706 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/0.7616, allocations: 464.3 kB / 0.7064 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.762, allocations: 72 kB / 0.7065 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002525/0.7645, allocations: 1.188 MB / 0.7076 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.7668, allocations: 1.226 MB / 0.7088 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.7669, allocations: 0 / 0.7088 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.767, allocations: 0 / 0.7088 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.767, allocations: 28 kB / 0.7088 GB, free: 7.68 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01183/0.7789, allocations: 5.378 MB / 0.7141 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008292/0.7872, allocations: 3.277 MB / 0.7173 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.7888, allocations: 0.7602 MB / 0.718 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.7895, allocations: 0.7375 MB / 0.7188 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.7911, allocations: 0.9046 MB / 0.7196 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 3.106e-06/0.7911, allocations: 4 kB / 0.7196 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.01655/0.8077, allocations: 5.016 MB / 0.7245 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.8078, allocations: 147 kB / 0.7247 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.8101, allocations: 1.164 MB / 0.7258 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/0.8105, allocations: 25.7 kB / 0.7258 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.8111, allocations: 0.7066 MB / 0.7265 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006203/0.8117, allocations: 480.8 kB / 0.727 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.8118, allocations: 0 / 0.727 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.812, allocations: 361.9 kB / 0.7273 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.8132, allocations: 0.6289 MB / 0.728 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.8145, allocations: 0.8177 MB / 0.7288 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.816, allocations: 0.7087 MB / 0.7294 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.816, allocations: 4 kB / 0.7295 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004722/0.8207, allocations: 2.252 MB / 0.7317 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006128/0.8214, allocations: 1.543 MB / 0.7332 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8214, allocations: 4 kB / 0.7332 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008282/0.8297, allocations: 2.381 MB / 0.7355 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.8311, allocations: 239.7 kB / 0.7357 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.8368, allocations: 3.077 MB / 0.7387 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.8396, allocations: 250.7 kB / 0.739 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.8399, allocations: 55.98 kB / 0.739 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8399, allocations: 5.25 kB / 0.739 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004185/0.8441, allocations: 2.038 MB / 0.741 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8442, allocations: 4 kB / 0.741 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007985/0.8521, allocations: 2.397 MB / 0.7434 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.8534, allocations: 227.6 kB / 0.7436 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/0.8591, allocations: 3.07 MB / 0.7466 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.8619, allocations: 246.7 kB / 0.7468 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.8622, allocations: 55.98 kB / 0.7469 GB, free: 15.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.8627, allocations: 118 kB / 0.747 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01579/0.8785, allocations: 5.036 MB / 0.7519 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000979/0.8795, allocations: 183.7 kB / 0.7521 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/0.8953, allocations: 5.091 MB / 0.757 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-05/0.8954, allocations: 16 kB / 0.757 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.8954, allocations: 0 / 0.757 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.245e-05/0.8955, allocations: 7.969 kB / 0.7571 GB, free: 5.363 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.4129/1.308, allocations: 7.243 MB / 0.7641 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.309, allocations: 0 / 0.7641 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.31, allocations: 196.3 kB / 0.7643 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006646/1.317, allocations: 1.986 MB / 0.7663 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004185/1.317, allocations: 16.27 kB / 0.7663 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/1.334, allocations: 7.702 MB / 0.7738 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.334, allocations: 2.875 kB / 0.7738 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.351, allocations: 6.194 MB / 0.7798 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/1.352, allocations: 289.9 kB / 0.7801 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/1.353, allocations: 10.02 kB / 0.7801 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.355, allocations: 183.1 kB / 0.7803 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/1.356, allocations: 281.4 kB / 0.7806 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.356, allocations: 41.86 kB / 0.7806 GB, free: 130 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001774/1.358, allocations: 0.8809 MB / 0.7815 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.6e-07/1.358, allocations: 0 / 0.7815 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002899/1.361, allocations: 0.7811 MB / 0.7822 GB, free: 129.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01927/1.38, allocations: 6.957 MB / 0.789 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01483/1.395, allocations: 4.238 MB / 0.7932 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.395, allocations: 0 / 0.7932 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006536/1.402, allocations: 1.898 MB / 0.795 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.403, allocations: 121.4 kB / 0.7951 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/1.411, allocations: 2.964 MB / 0.798 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.413, allocations: 1.341 MB / 0.7993 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001758/1.414, allocations: 272.8 kB / 0.7996 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009415/1.415, allocations: 0.656 MB / 0.8002 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of SimCode: time 2.925e-06/1.415, allocations: 1.156 kB / 0.8002 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09247/1.508, allocations: 46.92 MB / 0.8461 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.508, allocations: 119.2 kB / 0.8462 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.935/5.443, allocations: 3.094 kB / 0.8462 GB, free: 122.3 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)