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.001499/0.001499, allocations: 173.9 kB / 7.648 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.823/1.823, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0008441/0.0008442, allocations: 93.81 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/package.mo): time 0.08311/0.08311, allocations: 12.19 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3311/0.3311, allocations: 78.07 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.208e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 69.22 MB / 0.5818 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5018/0.6714, allocations: 98.99 MB / 0.6785 GB, free: 9.629 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.6717, allocations: 79.39 kB / 0.6786 GB, free: 9.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07454/0.7462, allocations: 28.83 MB / 0.7068 GB, free: 2.176 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7463, allocations: 0 / 0.7068 GB, free: 2.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.55e-05/0.7464, allocations: 24 kB / 0.7068 GB, free: 2.152 MB / 442.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.004708/0.7511, allocations: 1.693 MB / 0.7084 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.7511, allocations: 12.03 kB / 0.7084 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/0.7548, allocations: 0.5582 MB / 0.709 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.7567, allocations: 0.7722 MB / 0.7097 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.757, allocations: 205 kB / 0.7099 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.7572, allocations: 47.91 kB / 0.71 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00144/0.7587, allocations: 0.8007 MB / 0.7108 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7601, allocations: 0.8257 MB / 0.7116 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.7601, allocations: 4 kB / 0.7116 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.7602, allocations: 3.953 kB / 0.7116 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.7602, allocations: 16 kB / 0.7116 GB, free: 13.97 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.007257/0.7675, allocations: 3.698 MB / 0.7152 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.7744, allocations: 2.571 MB / 0.7177 GB, free: 8.633 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00097/0.7754, allocations: 0.5117 MB / 0.7182 GB, free: 8.352 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.7756, allocations: 17.64 kB / 0.7182 GB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.7756, allocations: 47.17 kB / 0.7183 GB, free: 8.289 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 3.257e-06/0.7756, allocations: 0 / 0.7183 GB, free: 8.289 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01168/0.7873, allocations: 3.797 MB / 0.722 GB, free: 4.988 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.7875, allocations: 145 kB / 0.7221 GB, free: 4.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.7889, allocations: 0.8156 MB / 0.7229 GB, free: 4.219 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000265/0.7891, allocations: 25.7 kB / 0.7229 GB, free: 4.188 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.7895, allocations: 0.4985 MB / 0.7234 GB, free: 3.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.7899, allocations: 324.9 kB / 0.7237 GB, free: 3.629 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.79, allocations: 0 / 0.7237 GB, free: 3.629 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7901, allocations: 346.1 kB / 0.7241 GB, free: 3.297 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.7907, allocations: 423.9 kB / 0.7245 GB, free: 3.078 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.7915, allocations: 0.541 MB / 0.725 GB, free: 2.695 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.7922, allocations: 477.7 kB / 0.7255 GB, free: 2.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.7922, allocations: 4 kB / 0.7255 GB, free: 2.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.0119/0.8041, allocations: 3.932 MB / 0.7293 GB, free: 15.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005358/0.8046, allocations: 1.203 MB / 0.7305 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8047, allocations: 4 kB / 0.7305 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/0.8097, allocations: 1.452 MB / 0.7319 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.8107, allocations: 164.9 kB / 0.7321 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.8235, allocations: 6.392 MB / 0.7383 GB, free: 6.961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.8252, allocations: 171.3 kB / 0.7385 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.8253, allocations: 35.98 kB / 0.7385 GB, free: 6.758 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.8253, allocations: 4 kB / 0.7385 GB, free: 6.754 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/0.8367, allocations: 3.778 MB / 0.7422 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.8367, allocations: 4 kB / 0.7422 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004862/0.8416, allocations: 1.449 MB / 0.7436 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008684/0.8425, allocations: 151.8 kB / 0.7437 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.8551, allocations: 6.417 MB / 0.75 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.8567, allocations: 159.3 kB / 0.7502 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.8569, allocations: 35.98 kB / 0.7502 GB, free: 10.63 MB / 490.7 MB 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.000435/0.8573, allocations: 160.9 kB / 0.7504 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01152/0.8689, allocations: 3.805 MB / 0.7541 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/0.8696, allocations: 122.5 kB / 0.7542 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.881, allocations: 3.89 MB / 0.758 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.8811, allocations: 12 kB / 0.758 GB, free: 2.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.8811, allocations: 7.953 kB / 0.758 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/0.8812, allocations: 11.97 kB / 0.758 GB, free: 2.578 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 postOpt removeSimpleEquations (simulation): time 0.01367/0.8948, allocations: 5.405 MB / 0.7633 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.8949, allocations: 4 kB / 0.7633 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.8957, allocations: 115.8 kB / 0.7634 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004485/0.9002, allocations: 1.398 MB / 0.7648 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.9004, allocations: 15.98 kB / 0.7648 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/0.9113, allocations: 5.633 MB / 0.7703 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.9113, allocations: 0 / 0.7703 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.9237, allocations: 4.603 MB / 0.7748 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.9243, allocations: 227.3 kB / 0.775 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.9246, allocations: 0 / 0.775 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9258, allocations: 123.9 kB / 0.7751 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/0.9263, allocations: 172.7 kB / 0.7753 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.9264, allocations: 27.98 kB / 0.7753 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008919/0.9273, allocations: 0.6294 MB / 0.7759 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9273, allocations: 0 / 0.7759 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002091/0.9294, allocations: 0.6083 MB / 0.7765 GB, free: 15.34 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.01268/0.9421, allocations: 5.261 MB / 0.7817 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008491/0.9507, allocations: 3.452 MB / 0.785 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.9507, allocations: 0 / 0.785 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003762/0.9545, allocations: 1.394 MB / 0.7864 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.9555, allocations: 95.45 kB / 0.7865 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.9595, allocations: 1.843 MB / 0.7883 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.9602, allocations: 1.158 MB / 0.7894 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008431/0.961, allocations: 193.7 kB / 0.7896 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.9615, allocations: 459.3 kB / 0.79 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.9616, allocations: 0 / 0.79 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/1.029, allocations: 35.23 MB / 0.8244 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/1.03, allocations: 145.1 kB / 0.8246 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.329, allocations: 4 kB / 0.8246 GB, free: 13.87 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)