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.001436/0.001436, allocations: 173.6 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008396/0.0008396, allocations: 83.94 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4118/0.4118, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.301e-05, allocations: 4 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 69.36 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4414, allocations: 116.2 MB / 0.6615 GB, free: 188 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4417, allocations: 91.95 kB / 0.6616 GB, free: 96 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3975/0.8392, allocations: 49.4 MB / 0.7098 GB, free: 101 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8393, allocations: 0 / 0.7098 GB, free: 101 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.8394, allocations: 39.94 kB / 0.7099 GB, free: 101 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.005914/0.8453, allocations: 2.274 MB / 0.7121 GB, free: 98.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.8454, allocations: 11.97 kB / 0.7121 GB, free: 98.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003571/0.8457, allocations: 181 kB / 0.7123 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.849, allocations: 0.5867 MB / 0.7129 GB, free: 97.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.8512, allocations: 1.144 MB / 0.714 GB, free: 96.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/0.8516, allocations: 0.5041 MB / 0.7145 GB, free: 96.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.8519, allocations: 116 kB / 0.7146 GB, free: 96.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.8541, allocations: 1.383 MB / 0.7159 GB, free: 94.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.8541, allocations: 4 kB / 0.7159 GB, free: 94.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.8543, allocations: 48 kB / 0.716 GB, free: 94.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.8543, allocations: 28 kB / 0.716 GB, free: 94.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.8563, allocations: 1.25 MB / 0.7172 GB, free: 93.29 MB / 490.7 MB 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.008408/0.8647, allocations: 5.591 MB / 0.7227 GB, free: 87.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007837/0.8726, allocations: 3.33 MB / 0.7259 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.8748, allocations: 0.8028 MB / 0.7267 GB, free: 83.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.8755, allocations: 0.737 MB / 0.7274 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002338/0.8778, allocations: 0.9482 MB / 0.7284 GB, free: 81.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 6.863e-06/0.8779, allocations: 11.98 kB / 0.7284 GB, free: 81.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01991/0.8978, allocations: 5.104 MB / 0.7334 GB, free: 76.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.8979, allocations: 149.8 kB / 0.7335 GB, free: 76.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.9007, allocations: 1.291 MB / 0.7348 GB, free: 74.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004544/0.9012, allocations: 53.69 kB / 0.7348 GB, free: 74.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.9018, allocations: 0.7022 MB / 0.7355 GB, free: 74.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/0.9025, allocations: 495.9 kB / 0.736 GB, free: 73.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.9026, allocations: 32 kB / 0.736 GB, free: 73.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9028, allocations: 361.9 kB / 0.7364 GB, free: 73.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.9044, allocations: 0.6562 MB / 0.737 GB, free: 72.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.9061, allocations: 0.8647 MB / 0.7378 GB, free: 71.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.9079, allocations: 0.7283 MB / 0.7385 GB, free: 70.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.9079, allocations: 0 / 0.7385 GB, free: 70.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005874/0.9138, allocations: 2.381 MB / 0.7409 GB, free: 68.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003272/0.9142, allocations: 1.548 MB / 0.7424 GB, free: 66.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9142, allocations: 4 kB / 0.7424 GB, free: 66.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008065/0.9223, allocations: 2.655 MB / 0.745 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.9235, allocations: 239.6 kB / 0.7452 GB, free: 63.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.9281, allocations: 2.915 MB / 0.7481 GB, free: 60.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.9306, allocations: 290.6 kB / 0.7483 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/0.931, allocations: 55.98 kB / 0.7484 GB, free: 60.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.931, allocations: 4 kB / 0.7484 GB, free: 60.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004201/0.9352, allocations: 2.197 MB / 0.7505 GB, free: 58.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.9352, allocations: 4 kB / 0.7505 GB, free: 58.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008023/0.9433, allocations: 2.645 MB / 0.7531 GB, free: 55.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.9444, allocations: 231.6 kB / 0.7533 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.9489, allocations: 2.898 MB / 0.7562 GB, free: 52.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.9513, allocations: 286.6 kB / 0.7564 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.9516, allocations: 59.95 kB / 0.7565 GB, free: 52.2 MB / 490.7 MB 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.0004603/0.952, allocations: 180.7 kB / 0.7567 GB, free: 52.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.9526, allocations: 189.7 kB / 0.7569 GB, free: 51.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.9668, allocations: 5.201 MB / 0.7619 GB, free: 46.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.9669, allocations: 12 kB / 0.7619 GB, free: 46.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.9669, allocations: 4 kB / 0.762 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.9669, allocations: 11.97 kB / 0.762 GB, free: 46.58 MB / 490.7 MB 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.01807/0.985, allocations: 7.496 MB / 0.7693 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.985, allocations: 0 / 0.7693 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.9862, allocations: 183.8 kB / 0.7695 GB, free: 38.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00594/0.9921, allocations: 2.013 MB / 0.7714 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002655/0.9924, allocations: 39.92 kB / 0.7715 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/1.009, allocations: 7.834 MB / 0.7791 GB, free: 28.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.009, allocations: 0 / 0.7791 GB, free: 28.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.025, allocations: 6.309 MB / 0.7853 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007057/1.026, allocations: 302.4 kB / 0.7856 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.026, allocations: 28 kB / 0.7856 GB, free: 22.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.028, allocations: 207.8 kB / 0.7858 GB, free: 21.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008669/1.029, allocations: 285.2 kB / 0.7861 GB, free: 21.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.029, allocations: 43.98 kB / 0.7861 GB, free: 21.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001438/1.031, allocations: 0.9937 MB / 0.7871 GB, free: 20.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.031, allocations: 0 / 0.7871 GB, free: 20.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002355/1.033, allocations: 0.8502 MB / 0.7879 GB, free: 19.72 MB / 490.7 MB 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.01594/1.049, allocations: 7.095 MB / 0.7948 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01241/1.062, allocations: 4.368 MB / 0.7991 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.062, allocations: 4 kB / 0.7991 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005343/1.067, allocations: 1.959 MB / 0.801 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.068, allocations: 157.7 kB / 0.8012 GB, free: 6.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006907/1.075, allocations: 3.092 MB / 0.8042 GB, free: 2.941 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/1.076, allocations: 1.333 MB / 0.8055 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00155/1.078, allocations: 282.9 kB / 0.8058 GB, free: 1.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007004/1.078, allocations: 0.6672 MB / 0.8064 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.078, allocations: 0 / 0.8064 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08266/1.161, allocations: 50.56 MB / 0.8558 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.161, allocations: 169.2 kB / 0.8559 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/4.819, allocations: 0 / 0.8559 GB, free: 14.02 MB / 0.5417 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)