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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 175.2 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.358/1.358, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008883/0.0008883, allocations: 92.38 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5405/0.5405, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.941e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3747, allocations: 69.5 MB / 0.5491 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5235, allocations: 113.3 MB / 0.6597 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5238, allocations: 71.97 kB / 0.6598 GB, free: 2.246 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6404/1.164, allocations: 123.7 MB / 0.7806 GB, free: 27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.164, allocations: 0 / 0.7806 GB, free: 27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005145/1.165, allocations: 87.94 kB / 0.7806 GB, free: 26.91 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.01702/1.182, allocations: 5.169 MB / 0.7857 GB, free: 21.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.182, allocations: 11.97 kB / 0.7857 GB, free: 21.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/1.193, allocations: 1.949 MB / 0.7876 GB, free: 19.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007324/1.201, allocations: 3.153 MB / 0.7907 GB, free: 16.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009331/1.202, allocations: 1.016 MB / 0.7917 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/1.203, allocations: 295.9 kB / 0.792 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/1.209, allocations: 3.426 MB / 0.7953 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/1.209, allocations: 4 kB / 0.7953 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/1.209, allocations: 108 kB / 0.7954 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/1.21, allocations: 71.98 kB / 0.7955 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/1.215, allocations: 3.192 MB / 0.7986 GB, free: 8.141 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.03033/1.245, allocations: 15.69 MB / 0.8139 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/1.258, allocations: 6.227 MB / 0.82 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/1.262, allocations: 1.956 MB / 0.8219 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/1.263, allocations: 0.766 MB / 0.8226 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004126/1.267, allocations: 2.372 MB / 0.825 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=331): time 4.799e-06/1.267, allocations: 0 / 0.825 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.03415/1.301, allocations: 11.79 MB / 0.8365 GB, free: 236 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/1.301, allocations: 192.9 kB / 0.8367 GB, free: 4 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008373/1.31, allocations: 3.902 MB / 0.8405 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001213/1.311, allocations: 93.69 kB / 0.8406 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.312, allocations: 1.862 MB / 0.8424 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.315, allocations: 1.171 MB / 0.8435 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/1.315, allocations: 76 kB / 0.8436 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002657/1.315, allocations: 446 kB / 0.844 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003216/1.318, allocations: 1.757 MB / 0.8457 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/1.322, allocations: 2.129 MB / 0.8478 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/1.325, allocations: 1.904 MB / 0.8497 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.325, allocations: 4 kB / 0.8497 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01136/1.336, allocations: 5.911 MB / 0.8555 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.336, allocations: 11.98 kB / 0.8555 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.336, allocations: 8 kB / 0.8555 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/1.36, allocations: 9.931 MB / 0.8652 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/1.363, allocations: 0.5813 MB / 0.8657 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/1.375, allocations: 5.209 MB / 0.8708 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006847/1.382, allocations: 0.7034 MB / 0.8715 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007172/1.383, allocations: 128 kB / 0.8716 GB, free: 12 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.0007739/1.383, allocations: 284.3 kB / 0.8719 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.385, allocations: 474.1 kB / 0.8724 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03455/1.42, allocations: 12.19 MB / 0.8843 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.455e-05/1.42, allocations: 36 kB / 0.8843 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/1.42, allocations: 11.89 kB / 0.8843 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001228/1.42, allocations: 19.88 kB / 0.8843 GB, free: 14.93 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.4918/1.912, allocations: 18.28 MB / 0.9022 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.912, allocations: 3.156 kB / 0.9022 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/1.915, allocations: 433.5 kB / 0.9026 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.93, allocations: 4.424 MB / 0.9069 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/1.931, allocations: 79.84 kB / 0.907 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03489/1.966, allocations: 16.44 MB / 0.923 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.966, allocations: 3.844 kB / 0.923 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04021/2.006, allocations: 14.86 MB / 0.9376 GB, free: 125.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/2.008, allocations: 0.7467 MB / 0.9383 GB, free: 125.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002254/2.011, allocations: 72.78 kB / 0.9384 GB, free: 125.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006832/2.018, allocations: 0.4893 MB / 0.9388 GB, free: 125.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002834/2.02, allocations: 0.6223 MB / 0.9394 GB, free: 125.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006176/2.021, allocations: 92.69 kB / 0.9395 GB, free: 125.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007025/2.028, allocations: 2.941 MB / 0.9424 GB, free: 125 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.8e-07/2.028, allocations: 0 / 0.9424 GB, free: 125 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006287/2.034, allocations: 1.28 MB / 0.9437 GB, free: 124.9 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.001088/2.035, allocations: 408.1 kB / 0.944 GB, free: 124.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01595/2.051, allocations: 6.109 MB / 0.95 GB, free: 122.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.052, allocations: 3.906 kB / 0.95 GB, free: 122.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/2.065, allocations: 4.305 MB / 0.9542 GB, free: 121.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/2.07, allocations: 390.9 kB / 0.9546 GB, free: 121.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/2.091, allocations: 7.418 MB / 0.9618 GB, free: 117.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/2.093, allocations: 2.428 MB / 0.9642 GB, free: 117 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002785/2.096, allocations: 400.5 kB / 0.9646 GB, free: 116.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/2.097, allocations: 243.2 kB / 0.9648 GB, free: 116.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.332e-06/2.097, allocations: 0 / 0.9648 GB, free: 116.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1117/2.209, allocations: 69.42 MB / 1.033 GB, free: 71.24 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)