Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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-master/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-master/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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 174.6 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.3 MB / 213.4 MB, free: 13.75 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.0007997/0.0007997, allocations: 85.47 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07386/0.07386, allocations: 12.6 MB / 321.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3498/0.3499, allocations: 78.07 MB / 450.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.225e-05/1.221e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 69.33 MB / 0.5824 GB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.4936, allocations: 113.5 MB / 0.6933 GB, free: 10.58 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4939, allocations: 76.03 kB / 0.6934 GB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3219/0.8158, allocations: 124.4 MB / 0.8148 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8159, allocations: 0 / 0.8148 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000517/0.8164, allocations: 91.88 kB / 0.8149 GB, free: 8.34 MB / 0.5417 GB 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.01728/0.8337, allocations: 5.156 MB / 0.8199 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.8338, allocations: 8.031 kB / 0.8199 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009626/0.8434, allocations: 1.461 MB / 0.8214 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008376/0.8518, allocations: 2.993 MB / 0.8243 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/0.8531, allocations: 0.91 MB / 0.8252 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.8544, allocations: 175.9 kB / 0.8254 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008259/0.8627, allocations: 3.041 MB / 0.8283 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009214/0.872, allocations: 3.033 MB / 0.8313 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.021e-05/0.8721, allocations: 4 kB / 0.8313 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007314/0.8728, allocations: 3.984 kB / 0.8313 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.8729, allocations: 71.92 kB / 0.8314 GB, free: 7.109 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 preOpt removeSimpleEquations (simulation): time 0.03323/0.9061, allocations: 14.86 MB / 0.8459 GB, free: 7.684 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/0.92, allocations: 6.101 MB / 0.8518 GB, free: 1.363 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2826/1.203, allocations: 1.857 MB / 0.8536 GB, free: 122.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.204, allocations: 0.7682 MB / 0.8544 GB, free: 121.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005322/1.209, allocations: 2.275 MB / 0.8566 GB, free: 121.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=331): time 5.931e-06/1.209, allocations: 0 / 0.8566 GB, free: 121.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=331): time 0.03664/1.246, allocations: 11.6 MB / 0.8679 GB, free: 121 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/1.246, allocations: 197.3 kB / 0.8681 GB, free: 120.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006474/1.252, allocations: 3.305 MB / 0.8714 GB, free: 120.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.254, allocations: 26.83 kB / 0.8714 GB, free: 120.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/1.255, allocations: 1.901 MB / 0.8732 GB, free: 120.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.257, allocations: 1.121 MB / 0.8743 GB, free: 119.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/1.257, allocations: 0 / 0.8743 GB, free: 119.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.258, allocations: 443.3 kB / 0.8748 GB, free: 119.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.26, allocations: 1.674 MB / 0.8764 GB, free: 119.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/1.264, allocations: 2.022 MB / 0.8784 GB, free: 119 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.267, allocations: 1.875 MB / 0.8802 GB, free: 118.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.267, allocations: 3.5 kB / 0.8802 GB, free: 118.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01013/1.277, allocations: 5.555 MB / 0.8856 GB, free: 118.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.278, allocations: 3.969 kB / 0.8856 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/1.278, allocations: 15.67 kB / 0.8856 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/1.295, allocations: 6.339 MB / 0.8918 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/1.298, allocations: 0.5688 MB / 0.8924 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/1.309, allocations: 5.764 MB / 0.898 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.315, allocations: 0.6015 MB / 0.8986 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005316/1.315, allocations: 128 kB / 0.8987 GB, free: 117.7 MB / 0.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: g3.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real g1.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real 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 (316): * Single equations (assignments): 313 * 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 {82 70} Notification: Performance of prepare postOptimizeDAE: time 0.0008809/1.316, allocations: 167.5 kB / 0.8989 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.317, allocations: 455.2 kB / 0.8993 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03136/1.349, allocations: 11.91 MB / 0.911 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/1.349, allocations: 34.66 kB / 0.911 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.349, allocations: 3.875 kB / 0.911 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.87e-05/1.349, allocations: 19.45 kB / 0.911 GB, free: 116.8 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.04004/1.389, allocations: 17.53 MB / 0.9281 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/1.389, allocations: 3.594 kB / 0.9281 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/1.392, allocations: 437.1 kB / 0.9286 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/1.405, allocations: 4.403 MB / 0.9329 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009519/1.406, allocations: 33.5 kB / 0.9329 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03221/1.438, allocations: 16.26 MB / 0.9488 GB, free: 99.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.438, allocations: 4 kB / 0.9488 GB, free: 99.74 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0371/1.475, allocations: 14.6 MB / 0.963 GB, free: 87.44 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.477, allocations: 0.6822 MB / 0.9637 GB, free: 86.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/1.479, allocations: 13.08 kB / 0.9637 GB, free: 86.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005021/1.484, allocations: 449.7 kB / 0.9641 GB, free: 86.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002162/1.486, allocations: 0.6136 MB / 0.9647 GB, free: 86.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00038/1.487, allocations: 95.17 kB / 0.9648 GB, free: 86.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0039/1.49, allocations: 2.454 MB / 0.9672 GB, free: 83.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.31e-07/1.49, allocations: 0 / 0.9672 GB, free: 83.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004169/1.495, allocations: 1.145 MB / 0.9683 GB, free: 82.72 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.0006656/1.495, allocations: 331.9 kB / 0.9687 GB, free: 82.47 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01416/1.509, allocations: 5.935 MB / 0.9745 GB, free: 77.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.51, allocations: 0 / 0.9745 GB, free: 77.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/1.521, allocations: 4.185 MB / 0.9785 GB, free: 73.34 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/1.525, allocations: 326 kB / 0.9789 GB, free: 73.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.539, allocations: 7.279 MB / 0.986 GB, free: 66.51 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.54, allocations: 2.419 MB / 0.9883 GB, free: 64.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0024/1.543, allocations: 387.5 kB / 0.9887 GB, free: 64.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.544, allocations: 229.8 kB / 0.9889 GB, free: 64.24 MB / 0.573 GB Notification: Performance of SimCode: time 2.334e-06/1.544, allocations: 0 / 0.9889 GB, free: 64.24 MB / 0.573 GB Notification: Performance of Templates: time 0.09179/1.636, allocations: 59.78 MB / 1.047 GB, free: 15.48 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)