Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",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.0009464/0.0009464, 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 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008458/0.0008458, allocations: 98.12 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5084/0.5084, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.805e-05, allocations: 3.984 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.34, allocations: 69.49 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4802, allocations: 113.3 MB / 0.6598 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4804, allocations: 75.95 kB / 0.6599 GB, free: 2.246 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6189/1.099, allocations: 123.7 MB / 0.7806 GB, free: 27.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.099, allocations: 0 / 0.7806 GB, free: 27.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002339/1.1, allocations: 87.94 kB / 0.7807 GB, free: 26.93 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.01517/1.115, allocations: 5.176 MB / 0.7858 GB, free: 21.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.115, allocations: 11.97 kB / 0.7858 GB, free: 21.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001309/1.116, allocations: 387.6 kB / 0.7862 GB, free: 21.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/1.127, allocations: 1.945 MB / 0.7881 GB, free: 19.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007882/1.135, allocations: 3.169 MB / 0.7912 GB, free: 16.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008731/1.136, allocations: 1.012 MB / 0.7921 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000928/1.137, allocations: 291.9 kB / 0.7924 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006417/1.144, allocations: 3.434 MB / 0.7958 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/1.144, allocations: 0 / 0.7958 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/1.144, allocations: 108 kB / 0.7959 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/1.144, allocations: 64 kB / 0.7959 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005397/1.149, allocations: 3.196 MB / 0.7991 GB, free: 7.762 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.03159/1.181, allocations: 15.68 MB / 0.8144 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/1.195, allocations: 6.227 MB / 0.8205 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004129/1.199, allocations: 1.956 MB / 0.8224 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009315/1.2, allocations: 0.7699 MB / 0.8231 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004629/1.204, allocations: 2.376 MB / 0.8254 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=331): time 5.049e-06/1.204, allocations: 0 / 0.8254 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.03537/1.24, allocations: 11.79 MB / 0.8369 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.24, allocations: 188.8 kB / 0.8371 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007594/1.248, allocations: 3.91 MB / 0.8409 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/1.249, allocations: 85.7 kB / 0.841 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/1.25, allocations: 1.862 MB / 0.8428 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.253, allocations: 1.167 MB / 0.844 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.253, allocations: 72 kB / 0.8441 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000252/1.253, allocations: 454 kB / 0.8445 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003624/1.257, allocations: 1.757 MB / 0.8462 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00388/1.261, allocations: 2.133 MB / 0.8483 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/1.264, allocations: 1.908 MB / 0.8502 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.265, allocations: 0 / 0.8502 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01189/1.276, allocations: 5.911 MB / 0.8559 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.276, allocations: 11.95 kB / 0.8559 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.276, allocations: 8 kB / 0.8559 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02329/1.3, allocations: 9.927 MB / 0.8656 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/1.303, allocations: 0.5813 MB / 0.8662 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.315, allocations: 5.205 MB / 0.8713 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006576/1.322, allocations: 0.7073 MB / 0.872 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005538/1.323, allocations: 132 kB / 0.8721 GB, free: 11.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.000728/1.323, allocations: 280.4 kB / 0.8724 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.324, allocations: 474 kB / 0.8728 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03454/1.359, allocations: 12.2 MB / 0.8847 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/1.359, allocations: 32 kB / 0.8848 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.359, allocations: 0 / 0.8848 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.359, allocations: 23.89 kB / 0.8848 GB, free: 14.55 MB / 0.573 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.3959/1.755, allocations: 18.29 MB / 0.9027 GB, free: 129.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.755, allocations: 0.875 kB / 0.9027 GB, free: 129.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/1.758, allocations: 434.9 kB / 0.9031 GB, free: 129.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.772, allocations: 4.425 MB / 0.9074 GB, free: 129.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009193/1.773, allocations: 77.08 kB / 0.9075 GB, free: 129.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0333/1.806, allocations: 16.44 MB / 0.9235 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.806, allocations: 0 / 0.9235 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03715/1.844, allocations: 14.85 MB / 0.938 GB, free: 126.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.846, allocations: 0.7489 MB / 0.9388 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.847, allocations: 74.11 kB / 0.9388 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004819/1.852, allocations: 499.2 kB / 0.9393 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002192/1.854, allocations: 0.6215 MB / 0.9399 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002993/1.854, allocations: 91.31 kB / 0.94 GB, free: 126.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00422/1.859, allocations: 2.943 MB / 0.9429 GB, free: 126.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 3e-07/1.859, allocations: 0 / 0.9429 GB, free: 126.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003892/1.863, allocations: 1.289 MB / 0.9441 GB, free: 126.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.03568/1.898, allocations: 15.84 MB / 0.9596 GB, free: 121.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01481/1.913, allocations: 6.119 MB / 0.9656 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.913, allocations: 1.75 kB / 0.9656 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01083/1.924, allocations: 4.308 MB / 0.9698 GB, free: 116 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.927, allocations: 400.7 kB / 0.9702 GB, free: 115.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/1.945, allocations: 8.248 MB / 0.9782 GB, free: 108.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.946, allocations: 2.43 MB / 0.9806 GB, free: 106.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001969/1.948, allocations: 405.9 kB / 0.981 GB, free: 106.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/1.951, allocations: 1.969 MB / 0.9829 GB, free: 104.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.473e-06/1.951, allocations: 0 / 0.9829 GB, free: 104.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/2.086, allocations: 108.7 MB / 1.089 GB, free: 15.07 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/2.087, allocations: 171.1 kB / 1.089 GB, free: 14.86 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.727/7.813, allocations: 3.938 kB / 1.089 GB, free: 14.85 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)