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.001686/0.001686, 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.369/1.369, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.000849/0.000849, allocations: 84.39 kB / 266.6 MB, free: 9.281 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.0679/0.0679, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2815/0.2815, allocations: 78.03 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.001e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 69.33 MB / 0.5895 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.4867, allocations: 114.2 MB / 0.701 GB, free: 1.398 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.487, allocations: 75.53 kB / 0.7011 GB, free: 1.363 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3214/0.8084, allocations: 126 MB / 0.8241 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8084, allocations: 0 / 0.8241 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003434/0.8088, allocations: 95.92 kB / 0.8242 GB, free: 13.34 MB / 0.5573 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.01682/0.8256, allocations: 5.171 MB / 0.8292 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8257, allocations: 11.98 kB / 0.8293 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00949/0.8352, allocations: 1.457 MB / 0.8307 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007136/0.8424, allocations: 2.993 MB / 0.8336 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/0.8436, allocations: 1.016 MB / 0.8346 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.8448, allocations: 299.8 kB / 0.8349 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006781/0.8516, allocations: 3.426 MB / 0.8382 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.8517, allocations: 4 kB / 0.8382 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.852, allocations: 116 kB / 0.8383 GB, free: 14.47 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.8521, allocations: 64 kB / 0.8384 GB, free: 14.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005926/0.858, allocations: 3.192 MB / 0.8415 GB, free: 11.21 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 preOpt removeSimpleEquations (simulation): time 0.02957/0.8876, allocations: 15.37 MB / 0.8565 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.9007, allocations: 6.23 MB / 0.8626 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.9041, allocations: 1.956 MB / 0.8645 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/0.9049, allocations: 0.7699 MB / 0.8653 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2642/1.169, allocations: 2.371 MB / 0.8676 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=331): time 8.947e-06/1.169, allocations: 0 / 0.8676 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=331): time 0.03862/1.208, allocations: 11.78 MB / 0.8791 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/1.208, allocations: 192 kB / 0.8793 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006419/1.214, allocations: 3.709 MB / 0.8829 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009311/1.215, allocations: 89.41 kB / 0.883 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.217, allocations: 1.872 MB / 0.8848 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.218, allocations: 1.162 MB / 0.8859 GB, free: 131 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/1.219, allocations: 77.25 kB / 0.886 GB, free: 131 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.219, allocations: 445 kB / 0.8864 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/1.222, allocations: 1.757 MB / 0.8882 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/1.225, allocations: 2.131 MB / 0.8902 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/1.228, allocations: 1.903 MB / 0.8921 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.228, allocations: 3.875 kB / 0.8921 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.009977/1.238, allocations: 5.911 MB / 0.8979 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/1.238, allocations: 9.906 kB / 0.8979 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.238, allocations: 13.81 kB / 0.8979 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02105/1.259, allocations: 9.922 MB / 0.9076 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.262, allocations: 0.5793 MB / 0.9082 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/1.273, allocations: 5.21 MB / 0.9132 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/1.278, allocations: 0.7045 MB / 0.9139 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/1.279, allocations: 124.4 kB / 0.9141 GB, free: 129.1 MB / 0.5886 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.0007108/1.28, allocations: 286.3 kB / 0.9143 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.281, allocations: 470.1 kB / 0.9148 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0331/1.314, allocations: 12.2 MB / 0.9267 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/1.314, allocations: 32.75 kB / 0.9267 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.314, allocations: 4 kB / 0.9267 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/1.314, allocations: 21.53 kB / 0.9267 GB, free: 128.1 MB / 0.5886 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.04068/1.355, allocations: 18.11 MB / 0.9444 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.355, allocations: 3.875 kB / 0.9444 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.358, allocations: 437.8 kB / 0.9448 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/1.371, allocations: 4.421 MB / 0.9492 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008979/1.372, allocations: 83.3 kB / 0.9492 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03355/1.405, allocations: 16.44 MB / 0.9653 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.405, allocations: 0 / 0.9653 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03672/1.442, allocations: 14.87 MB / 0.9798 GB, free: 94.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.444, allocations: 0.7144 MB / 0.9805 GB, free: 93.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.445, allocations: 68 kB / 0.9806 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004614/1.45, allocations: 494.4 kB / 0.981 GB, free: 93.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002073/1.452, allocations: 0.6252 MB / 0.9817 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/1.452, allocations: 91.59 kB / 0.9817 GB, free: 93.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003978/1.456, allocations: 2.797 MB / 0.9845 GB, free: 90.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.01e-07/1.456, allocations: 0 / 0.9845 GB, free: 90.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003938/1.46, allocations: 1.275 MB / 0.9857 GB, free: 89.28 MB / 0.5886 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.0007868/1.461, allocations: 400.3 kB / 0.9861 GB, free: 88.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.476, allocations: 6.103 MB / 0.9921 GB, free: 83.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.476, allocations: 2.531 kB / 0.9921 GB, free: 83.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01088/1.486, allocations: 4.32 MB / 0.9963 GB, free: 79.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.489, allocations: 386.5 kB / 0.9967 GB, free: 79.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.501, allocations: 7.426 MB / 1.004 GB, free: 72.51 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.503, allocations: 2.43 MB / 1.006 GB, free: 70.69 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00217/1.505, allocations: 405.6 kB / 1.007 GB, free: 70.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.506, allocations: 234.7 kB / 1.007 GB, free: 70.21 MB / 0.5886 GB Notification: Performance of SimCode: time 1.123e-06/1.506, allocations: 4 kB / 1.007 GB, free: 70.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.08834/1.594, allocations: 67.69 MB / 1.073 GB, free: 14.21 MB / 0.5886 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)