Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009848/0.0009849, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 86.7 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0714/0.0714, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2764/0.2764, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.21e-05, allocations: 4 kB / 0.5213 GB, free: 24.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 69.24 MB / 0.5889 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5769, allocations: 117.8 MB / 0.7039 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5772, allocations: 97.23 kB / 0.704 GB, free: 14.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1391/0.7164, allocations: 48.27 MB / 0.7512 GB, free: 5.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7164, allocations: 0 / 0.7512 GB, free: 5.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001853/0.7166, allocations: 36 kB / 0.7512 GB, free: 5.68 MB / 490.7 MB 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.007991/0.7246, allocations: 2.287 MB / 0.7534 GB, free: 3.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.7247, allocations: 15.92 kB / 0.7535 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007051/0.7254, allocations: 184.2 kB / 0.7536 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.7292, allocations: 0.5766 MB / 0.7542 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.7325, allocations: 1.142 MB / 0.7553 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006959/0.7332, allocations: 0.4989 MB / 0.7558 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.7338, allocations: 119.2 kB / 0.7559 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.7373, allocations: 1.385 MB / 0.7573 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.7373, allocations: 8.281 kB / 0.7573 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.7375, allocations: 51.77 kB / 0.7573 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.7376, allocations: 24 kB / 0.7573 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.7402, allocations: 1.253 MB / 0.7586 GB, free: 15.55 MB / 0.4948 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.01259/0.7528, allocations: 5.575 MB / 0.764 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/0.7615, allocations: 3.331 MB / 0.7673 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.7632, allocations: 0.7915 MB / 0.768 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/0.764, allocations: 0.7375 MB / 0.7688 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.7661, allocations: 0.9541 MB / 0.7697 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=139): time 5.54e-06/0.7661, allocations: 3.938 kB / 0.7697 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=139): time 0.01649/0.7826, allocations: 5.102 MB / 0.7747 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.7827, allocations: 153.8 kB / 0.7748 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.7856, allocations: 1.291 MB / 0.7761 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004276/0.786, allocations: 49.7 kB / 0.7761 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.7867, allocations: 0.711 MB / 0.7768 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007962/0.7875, allocations: 496.8 kB / 0.7773 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.7877, allocations: 28 kB / 0.7773 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7879, allocations: 365.9 kB / 0.7777 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.7893, allocations: 0.6562 MB / 0.7783 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.7908, allocations: 0.8568 MB / 0.7792 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.7923, allocations: 0.7323 MB / 0.7799 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7923, allocations: 0 / 0.7799 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00502/0.7973, allocations: 2.377 MB / 0.7822 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006575/0.798, allocations: 1.551 MB / 0.7837 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.798, allocations: 7.953 kB / 0.7837 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008765/0.8068, allocations: 2.645 MB / 0.7863 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.808, allocations: 231.7 kB / 0.7865 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/0.8132, allocations: 2.912 MB / 0.7894 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.8159, allocations: 298.5 kB / 0.7896 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.8162, allocations: 63.97 kB / 0.7897 GB, free: 264 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8162, allocations: 4 kB / 0.7897 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004688/0.8209, allocations: 2.19 MB / 0.7919 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.8209, allocations: 7.953 kB / 0.7919 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00863/0.8295, allocations: 2.66 MB / 0.7945 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.8307, allocations: 223.7 kB / 0.7947 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/0.8358, allocations: 2.896 MB / 0.7975 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.8383, allocations: 286.7 kB / 0.7978 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.8387, allocations: 51.98 kB / 0.7978 GB, free: 7.887 MB / 0.5261 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 (125): * Single equations (assignments): 123 * 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.0004768/0.8391, allocations: 176.7 kB / 0.798 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/0.8397, allocations: 181.8 kB / 0.7982 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/0.8551, allocations: 5.217 MB / 0.8033 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.8551, allocations: 19.94 kB / 0.8033 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.8551, allocations: 4 kB / 0.8033 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.8552, allocations: 7.969 kB / 0.8033 GB, free: 2.258 MB / 0.5261 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.02037/0.8756, allocations: 7.493 MB / 0.8106 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.8756, allocations: 7.984 kB / 0.8106 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.877, allocations: 179.8 kB / 0.8108 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006594/0.8837, allocations: 2.009 MB / 0.8127 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003711/0.8841, allocations: 35.94 kB / 0.8128 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.9026, allocations: 7.837 MB / 0.8204 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9026, allocations: 0 / 0.8204 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/0.9206, allocations: 6.322 MB / 0.8266 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.9215, allocations: 298.4 kB / 0.8269 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009741/0.9225, allocations: 24 kB / 0.8269 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/0.9248, allocations: 207.8 kB / 0.8271 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/0.926, allocations: 285.2 kB / 0.8274 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/0.9262, allocations: 39.98 kB / 0.8274 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00199/0.9282, allocations: 0.99 MB / 0.8284 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9282, allocations: 4 kB / 0.8284 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003463/0.9317, allocations: 0.8541 MB / 0.8292 GB, free: 7.352 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.01894/0.9507, allocations: 7.093 MB / 0.8362 GB, free: 216 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0143/0.965, allocations: 4.379 MB / 0.8404 GB, free: 11.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.9651, allocations: 256 / 0.8404 GB, free: 11.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006442/0.9715, allocations: 1.97 MB / 0.8424 GB, free: 9.844 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.9732, allocations: 145.8 kB / 0.8425 GB, free: 9.699 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.9812, allocations: 3.103 MB / 0.8455 GB, free: 6.539 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.9823, allocations: 1.333 MB / 0.8468 GB, free: 5.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001654/0.984, allocations: 282.9 kB / 0.8471 GB, free: 4.898 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009516/0.9849, allocations: 0.6711 MB / 0.8478 GB, free: 4.227 MB / 0.573 GB Notification: Performance of SimCode: time 1.292e-06/0.985, allocations: 0 / 0.8478 GB, free: 4.227 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3887/1.374, allocations: 50.59 MB / 0.8972 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/1.374, allocations: 166.1 kB / 0.8973 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/5.061, allocations: 6.562 kB / 0.8973 GB, free: 177.4 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)