Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.0009552/0.0009552, allocations: 174.3 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.198/1.198, 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.0007825/0.0007825, allocations: 88.45 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05963/0.05963, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2674/0.2674, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.945e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.465, allocations: 99.65 MB / 0.6863 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4652, allocations: 78.33 kB / 0.6863 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07646/0.5417, allocations: 29.18 MB / 0.7148 GB, free: 7.988 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5418, allocations: 0 / 0.7148 GB, free: 7.988 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.5419, allocations: 20 kB / 0.7148 GB, free: 7.969 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0042/0.5461, allocations: 1.689 MB / 0.7165 GB, free: 6.328 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5461, allocations: 15.98 kB / 0.7165 GB, free: 6.312 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.5464, allocations: 129.7 kB / 0.7166 GB, free: 6.227 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.5497, allocations: 0.5695 MB / 0.7172 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.5512, allocations: 0.7727 MB / 0.7179 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.5514, allocations: 227.5 kB / 0.7182 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.5516, allocations: 85.14 kB / 0.7182 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5532, allocations: 0.9259 MB / 0.7191 GB, free: 4.145 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5532, allocations: 0 / 0.7191 GB, free: 4.145 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.5533, allocations: 29 kB / 0.7192 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.5534, allocations: 19.95 kB / 0.7192 GB, free: 4.117 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5548, allocations: 0.8425 MB / 0.72 GB, free: 3.582 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.006313/0.5611, allocations: 3.834 MB / 0.7238 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.568, allocations: 2.595 MB / 0.7263 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.5689, allocations: 0.542 MB / 0.7268 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.569, allocations: 16.77 kB / 0.7268 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5691, allocations: 46.64 kB / 0.7269 GB, free: 13.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.5691, allocations: 0 / 0.7269 GB, free: 13.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.0119/0.581, allocations: 3.886 MB / 0.7307 GB, free: 10.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.5811, allocations: 145.2 kB / 0.7308 GB, free: 10.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.5828, allocations: 0.8863 MB / 0.7317 GB, free: 9.555 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002553/0.5831, allocations: 40.64 kB / 0.7317 GB, free: 9.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5835, allocations: 0.5068 MB / 0.7322 GB, free: 9.246 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/0.5839, allocations: 333.4 kB / 0.7325 GB, free: 8.957 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.584, allocations: 26.94 kB / 0.7326 GB, free: 8.945 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5842, allocations: 339.9 kB / 0.7329 GB, free: 8.621 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/0.585, allocations: 438.5 kB / 0.7333 GB, free: 8.383 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.5858, allocations: 0.5595 MB / 0.7338 GB, free: 7.988 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.5867, allocations: 0.5312 MB / 0.7344 GB, free: 7.641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5867, allocations: 0 / 0.7344 GB, free: 7.641 MB / 474.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01173/0.5985, allocations: 4.064 MB / 0.7383 GB, free: 4.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003915/0.5989, allocations: 1.204 MB / 0.7395 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5989, allocations: 4 kB / 0.7395 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005/0.6039, allocations: 1.473 MB / 0.741 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.6048, allocations: 158.5 kB / 0.7411 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.6178, allocations: 6.575 MB / 0.7475 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.6193, allocations: 191.2 kB / 0.7477 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.6195, allocations: 32 kB / 0.7477 GB, free: 11.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6195, allocations: 4 kB / 0.7477 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01152/0.6311, allocations: 3.934 MB / 0.7516 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.6311, allocations: 8 kB / 0.7516 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004889/0.636, allocations: 1.469 MB / 0.753 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.6369, allocations: 155.7 kB / 0.7532 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.6496, allocations: 6.577 MB / 0.7596 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.6511, allocations: 187.2 kB / 0.7598 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.6512, allocations: 28 kB / 0.7598 GB, free: 15.15 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.6515, allocations: 191 kB / 0.76 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.6517, allocations: 130.3 kB / 0.7601 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.6629, allocations: 3.989 MB / 0.764 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6629, allocations: 12 kB / 0.764 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.6629, allocations: 8 kB / 0.764 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.6629, allocations: 3.984 kB / 0.764 GB, free: 10.79 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.01314/0.6761, allocations: 5.622 MB / 0.7695 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.6761, allocations: 0 / 0.7695 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.6768, allocations: 111.9 kB / 0.7696 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004352/0.6812, allocations: 1.426 MB / 0.771 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.6814, allocations: 23.94 kB / 0.771 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.6924, allocations: 5.736 MB / 0.7766 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6925, allocations: 4.156 kB / 0.7766 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.7051, allocations: 4.713 MB / 0.7812 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.7056, allocations: 227.3 kB / 0.7815 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.7058, allocations: 16 kB / 0.7815 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.7069, allocations: 139.9 kB / 0.7816 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004972/0.7075, allocations: 176.5 kB / 0.7818 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.7075, allocations: 23.98 kB / 0.7818 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009044/0.7084, allocations: 0.6895 MB / 0.7825 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7084, allocations: 0 / 0.7825 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001698/0.7102, allocations: 0.6592 MB / 0.7831 GB, free: 6.914 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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.01277/0.7229, allocations: 5.397 MB / 0.7884 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008415/0.7314, allocations: 3.565 MB / 0.7919 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.7314, allocations: 4.125 kB / 0.7919 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/0.7355, allocations: 1.435 MB / 0.7933 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.7365, allocations: 104.6 kB / 0.7934 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.7407, allocations: 1.916 MB / 0.7953 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.7413, allocations: 1.162 MB / 0.7964 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008744/0.7422, allocations: 201.7 kB / 0.7966 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.7427, allocations: 463.3 kB / 0.797 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.7428, allocations: 0 / 0.797 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/0.8015, allocations: 37.91 MB / 0.834 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.8017, allocations: 196.2 kB / 0.8342 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.682, allocations: 7.438 kB / 0.8342 GB, free: 2.395 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)