Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 172.5 kB / 7.647 MB, free: 1.422 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.773/1.773, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.001009/0.001009, allocations: 93.84 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/package.mo): time 0.06785/0.06785, allocations: 12.19 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3245/0.3245, allocations: 78.06 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.117e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 69.24 MB / 0.5819 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.6313, allocations: 99.88 MB / 0.6794 GB, free: 8.684 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.6316, allocations: 86.75 kB / 0.6795 GB, free: 8.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07767/0.7093, allocations: 30.09 MB / 0.7089 GB, free: 15.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7094, allocations: 0 / 0.7089 GB, free: 15.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.275e-05/0.7095, allocations: 24 kB / 0.7089 GB, free: 15.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004576/0.714, allocations: 1.75 MB / 0.7106 GB, free: 14.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.7141, allocations: 12.03 kB / 0.7106 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.7177, allocations: 0.5686 MB / 0.7112 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.7193, allocations: 0.8048 MB / 0.7119 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.7196, allocations: 206.2 kB / 0.7121 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.7198, allocations: 44 kB / 0.7122 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001403/0.7212, allocations: 0.8116 MB / 0.713 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7226, allocations: 0.8527 MB / 0.7138 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.7227, allocations: 0 / 0.7138 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-05/0.7227, allocations: 4 kB / 0.7138 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.7228, allocations: 19.94 kB / 0.7138 GB, free: 11.52 MB / 458.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.007083/0.7299, allocations: 3.821 MB / 0.7176 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006996/0.7369, allocations: 2.6 MB / 0.7201 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.7378, allocations: 0.5323 MB / 0.7206 GB, free: 5.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.738, allocations: 16.77 kB / 0.7206 GB, free: 5.785 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.738, allocations: 42.09 kB / 0.7207 GB, free: 5.738 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 2.876e-06/0.738, allocations: 4.875 kB / 0.7207 GB, free: 5.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01176/0.7498, allocations: 3.848 MB / 0.7244 GB, free: 2.402 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.7499, allocations: 137.3 kB / 0.7246 GB, free: 2.238 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.7514, allocations: 0.8576 MB / 0.7254 GB, free: 1.613 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.7516, allocations: 25.7 kB / 0.7254 GB, free: 1.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.752, allocations: 0.5117 MB / 0.7259 GB, free: 1.301 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.7524, allocations: 330.1 kB / 0.7263 GB, free: 1.012 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.7525, allocations: 0 / 0.7263 GB, free: 1.012 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7526, allocations: 347.6 kB / 0.7266 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.7532, allocations: 441.4 kB / 0.727 GB, free: 464 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.754, allocations: 0.5716 MB / 0.7276 GB, free: 56 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.7547, allocations: 498.1 kB / 0.728 GB, free: 15.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7547, allocations: 0 / 0.728 GB, free: 15.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01223/0.767, allocations: 4.036 MB / 0.732 GB, free: 12.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004767/0.7675, allocations: 1.198 MB / 0.7331 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.7675, allocations: 8 kB / 0.7332 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/0.773, allocations: 1.531 MB / 0.7347 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.7739, allocations: 163.6 kB / 0.7348 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.7877, allocations: 7.708 MB / 0.7423 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.7894, allocations: 163.3 kB / 0.7425 GB, free: 2.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.7896, allocations: 39.97 kB / 0.7425 GB, free: 2.418 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7896, allocations: 9.719 kB / 0.7425 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01173/0.8013, allocations: 3.876 MB / 0.7463 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.8014, allocations: 4 kB / 0.7463 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/0.8068, allocations: 1.532 MB / 0.7478 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/0.8077, allocations: 151.8 kB / 0.748 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.8219, allocations: 7.723 MB / 0.7555 GB, free: 4.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8236, allocations: 171.2 kB / 0.7557 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.8239, allocations: 39.92 kB / 0.7557 GB, free: 4.66 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.8243, allocations: 154.9 kB / 0.7559 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01159/0.8359, allocations: 3.836 MB / 0.7596 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/0.8365, allocations: 126.4 kB / 0.7597 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.8482, allocations: 3.945 MB / 0.7636 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.8483, allocations: 12 kB / 0.7636 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.8483, allocations: 4 kB / 0.7636 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/0.8484, allocations: 3.984 kB / 0.7636 GB, free: 12.54 MB / 0.4948 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.01418/0.8625, allocations: 5.531 MB / 0.769 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.8626, allocations: 7.984 kB / 0.769 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.8635, allocations: 111.9 kB / 0.7691 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/0.8682, allocations: 1.406 MB / 0.7705 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.8684, allocations: 12 kB / 0.7705 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.8794, allocations: 5.625 MB / 0.776 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8795, allocations: 0 / 0.776 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.8923, allocations: 4.687 MB / 0.7806 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.8929, allocations: 235.2 kB / 0.7808 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.8932, allocations: 4 kB / 0.7808 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.8946, allocations: 123.9 kB / 0.7809 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/0.8952, allocations: 184.9 kB / 0.7811 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/0.8953, allocations: 24 kB / 0.7811 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009974/0.8963, allocations: 0.6536 MB / 0.7818 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8963, allocations: 4 kB / 0.7818 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00275/0.8991, allocations: 0.6395 MB / 0.7824 GB, free: 9.027 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01361/0.9127, allocations: 5.349 MB / 0.7876 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009708/0.9224, allocations: 3.783 MB / 0.7913 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.9225, allocations: 4 kB / 0.7913 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/0.9265, allocations: 1.423 MB / 0.7927 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.9277, allocations: 96.47 kB / 0.7928 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.9332, allocations: 2.105 MB / 0.7948 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.9341, allocations: 1.174 MB / 0.796 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001135/0.9353, allocations: 194.1 kB / 0.7962 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.9359, allocations: 459.4 kB / 0.7966 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/0.9359, allocations: 3.938 kB / 0.7966 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/1.006, allocations: 36.68 MB / 0.8324 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.007, allocations: 145.1 kB / 0.8326 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/4.3, allocations: 0 / 0.8326 GB, free: 5.359 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)