Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 175.7 kB / 7.648 MB, free: 1.402 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.353/1.353, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0008069/0.0008069, allocations: 84.73 kB / 261.4 MB, free: 13.44 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.07317/0.07317, allocations: 12.59 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2868/0.2868, allocations: 78.07 MB / 450.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.122e-05, allocations: 0 / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 69.33 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.511, allocations: 103.1 MB / 0.6831 GB, free: 4.941 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5112, allocations: 80.08 kB / 0.6832 GB, free: 4.902 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2468/0.7581, allocations: 95.66 MB / 0.7766 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7581, allocations: 3.938 kB / 0.7766 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003774/0.7585, allocations: 87.94 kB / 0.7767 GB, free: 15.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01893/0.7774, allocations: 5.747 MB / 0.7823 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7775, allocations: 8.031 kB / 0.7823 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/0.7956, allocations: 2.78 MB / 0.785 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.8016, allocations: 2.263 MB / 0.7872 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009778/0.8026, allocations: 0.8635 MB / 0.788 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.8038, allocations: 204 kB / 0.7882 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008002/0.8119, allocations: 3.427 MB / 0.7916 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007099/0.819, allocations: 3.594 MB / 0.7951 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.8191, allocations: 0 / 0.7951 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/0.8194, allocations: 3.984 kB / 0.7951 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/0.8195, allocations: 87.95 kB / 0.7952 GB, free: 12.38 MB / 0.5261 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.03541/0.8549, allocations: 18.04 MB / 0.8128 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.8657, allocations: 4.694 MB / 0.8174 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.8697, allocations: 2.112 MB / 0.8194 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/0.8702, allocations: 78.89 kB / 0.8195 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004364/0.8746, allocations: 2.488 MB / 0.8219 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 7.343e-06/0.8746, allocations: 0 / 0.8219 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.05184/0.9265, allocations: 17.28 MB / 0.8388 GB, free: 14.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.9266, allocations: 141.8 kB / 0.839 GB, free: 14.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.9306, allocations: 2.432 MB / 0.8413 GB, free: 11.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008415/0.9314, allocations: 25.7 kB / 0.8414 GB, free: 11.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.9331, allocations: 1.99 MB / 0.8433 GB, free: 9.691 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/0.935, allocations: 1.258 MB / 0.8445 GB, free: 8.414 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.9354, allocations: 0 / 0.8445 GB, free: 8.414 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000264/0.9356, allocations: 441.8 kB / 0.845 GB, free: 7.977 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.9387, allocations: 1.765 MB / 0.8467 GB, free: 6.211 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/0.9422, allocations: 2.321 MB / 0.8489 GB, free: 3.691 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/0.9455, allocations: 1.952 MB / 0.8509 GB, free: 1.727 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.9455, allocations: 4 kB / 0.8509 GB, free: 1.723 MB / 0.573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05262/0.9981, allocations: 17.34 MB / 0.8678 GB, free: 348 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.9982, allocations: 71.39 kB / 0.8679 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.9983, allocations: 12 kB / 0.8679 GB, free: 252 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2868/1.285, allocations: 6.893 MB / 0.8746 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/1.288, allocations: 0.5595 MB / 0.8751 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05562/1.344, allocations: 25.22 MB / 0.8998 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/1.349, allocations: 0.6304 MB / 0.9004 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006109/1.35, allocations: 127.6 kB / 0.9005 GB, free: 128.5 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 2 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008305/1.351, allocations: 208.9 kB / 0.9007 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009117/1.352, allocations: 461.4 kB / 0.9011 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04703/1.399, allocations: 17.73 MB / 0.9185 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.399, allocations: 37.84 kB / 0.9185 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.069e-05/1.399, allocations: 37.23 kB / 0.9185 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.545e-05/1.399, allocations: 16.92 kB / 0.9186 GB, free: 127.8 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.05609/1.455, allocations: 22.35 MB / 0.9404 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.455, allocations: 0 / 0.9404 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.457, allocations: 390.6 kB / 0.9407 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02065/1.478, allocations: 6.971 MB / 0.9476 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.479, allocations: 19.62 kB / 0.9476 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04771/1.527, allocations: 24.18 MB / 0.9712 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.527, allocations: 0 / 0.9712 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05124/1.578, allocations: 20.6 MB / 0.9913 GB, free: 90.33 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.579, allocations: 0.5536 MB / 0.9919 GB, free: 89.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009625/1.58, allocations: 4 kB / 0.9919 GB, free: 89.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004162/1.585, allocations: 432.9 kB / 0.9923 GB, free: 89.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00261/1.587, allocations: 0.7809 MB / 0.993 GB, free: 89.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/1.588, allocations: 103.5 kB / 0.9931 GB, free: 89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002221/1.59, allocations: 1.794 MB / 0.9949 GB, free: 87.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.41e-07/1.59, allocations: 0 / 0.9949 GB, free: 87.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00466/1.594, allocations: 1.579 MB / 0.9964 GB, free: 85.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005275/1.595, allocations: 168.1 kB / 0.9966 GB, free: 85.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01856/1.614, allocations: 7.951 MB / 1.004 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.614, allocations: 4.125 kB / 1.004 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01566/1.629, allocations: 5.972 MB / 1.01 GB, free: 73.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.632, allocations: 251.8 kB / 1.01 GB, free: 73.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009979/1.642, allocations: 5.731 MB / 1.016 GB, free: 67.81 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/1.643, allocations: 2.537 MB / 1.018 GB, free: 65.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001459/1.645, allocations: 293.2 kB / 1.019 GB, free: 65.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/1.646, allocations: 194.2 kB / 1.019 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/1.646, allocations: 1.422 kB / 1.019 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of Templates: time 0.0906/1.736, allocations: 72.26 MB / 1.09 GB, free: 2.832 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)