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/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.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",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.001166/0.001166, 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.618/1.618, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.000999/0.0009989, allocations: 89.45 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.09098/0.09098, allocations: 12.2 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3056/0.3056, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.652e-05, allocations: 4 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 69.24 MB / 0.5819 GB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5826, allocations: 103 MB / 0.6825 GB, free: 5.871 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5829, allocations: 81.08 kB / 0.6825 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2295/0.8124, allocations: 95.66 MB / 0.776 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8124, allocations: 0 / 0.776 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003218/0.8127, allocations: 95.88 kB / 0.776 GB, free: 0.5938 MB / 0.4948 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.01995/0.8327, allocations: 5.739 MB / 0.7817 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.285e-05/0.8328, allocations: 12.03 kB / 0.7817 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.8511, allocations: 2.775 MB / 0.7844 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0072/0.8584, allocations: 2.267 MB / 0.7866 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.8595, allocations: 0.8675 MB / 0.7874 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.8606, allocations: 203.9 kB / 0.7876 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007837/0.8685, allocations: 3.435 MB / 0.791 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.8758, allocations: 3.59 MB / 0.7945 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/0.8759, allocations: 4 kB / 0.7945 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.8762, allocations: 0 / 0.7945 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/0.8763, allocations: 87.95 kB / 0.7946 GB, free: 13.29 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.03998/0.9163, allocations: 18.03 MB / 0.8122 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.9268, allocations: 4.694 MB / 0.8168 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004021/0.9309, allocations: 2.12 MB / 0.8188 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.9314, allocations: 70.91 kB / 0.8189 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004096/0.9355, allocations: 2.492 MB / 0.8213 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=383): time 6.382e-06/0.9355, allocations: 0 / 0.8213 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of matching and sorting (n=383): time 0.05265/0.9882, allocations: 17.27 MB / 0.8382 GB, free: 15.26 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.9883, allocations: 145.8 kB / 0.8383 GB, free: 15.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/0.9933, allocations: 2.428 MB / 0.8407 GB, free: 12.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/0.9946, allocations: 25.7 kB / 0.8407 GB, free: 12.62 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.9963, allocations: 1.998 MB / 0.8427 GB, free: 10.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002273/0.9986, allocations: 1.254 MB / 0.8439 GB, free: 9.328 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.9989, allocations: 0 / 0.8439 GB, free: 9.328 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.9992, allocations: 445.8 kB / 0.8443 GB, free: 8.887 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/1.002, allocations: 1.761 MB / 0.8461 GB, free: 7.125 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/1.005, allocations: 2.325 MB / 0.8483 GB, free: 4.605 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003164/1.009, allocations: 1.96 MB / 0.8502 GB, free: 2.633 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.009, allocations: 4 kB / 0.8503 GB, free: 2.629 MB / 0.573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.5059/1.515, allocations: 17.32 MB / 0.8672 GB, free: 121 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.515, allocations: 70.95 kB / 0.8672 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-05/1.515, allocations: 15.78 kB / 0.8673 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02605/1.541, allocations: 6.9 MB / 0.874 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/1.544, allocations: 0.5609 MB / 0.8745 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05424/1.598, allocations: 25.22 MB / 0.8992 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/1.605, allocations: 0.6327 MB / 0.8998 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004344/1.605, allocations: 137.4 kB / 0.8999 GB, free: 119 MB / 0.573 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.0009639/1.606, allocations: 197.6 kB / 0.9001 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04791/1.654, allocations: 17.28 MB / 0.917 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002612/1.657, allocations: 455.7 kB / 0.9174 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0493/1.706, allocations: 17.73 MB / 0.9347 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.857e-05/1.706, allocations: 43.95 kB / 0.9348 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.938e-05/1.706, allocations: 28 kB / 0.9348 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000156/1.707, allocations: 20.77 kB / 0.9348 GB, free: 114.3 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.05643/1.763, allocations: 22.35 MB / 0.9567 GB, free: 97.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/1.763, allocations: 0 / 0.9567 GB, free: 97.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.766, allocations: 388.1 kB / 0.957 GB, free: 97.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02136/1.787, allocations: 6.975 MB / 0.9638 GB, free: 91.79 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/1.789, allocations: 26.09 kB / 0.9639 GB, free: 91.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04858/1.837, allocations: 24.17 MB / 0.9875 GB, free: 70.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.837, allocations: 0 / 0.9875 GB, free: 70.23 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05373/1.891, allocations: 20.6 MB / 1.008 GB, free: 53.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00279/1.894, allocations: 0.5515 MB / 1.008 GB, free: 52.89 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/1.896, allocations: 4 kB / 1.008 GB, free: 52.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004846/1.901, allocations: 440.5 kB / 1.009 GB, free: 52.55 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003172/1.904, allocations: 0.7833 MB / 1.009 GB, free: 52.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/1.904, allocations: 95.75 kB / 1.009 GB, free: 52.04 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002956/1.907, allocations: 1.791 MB / 1.011 GB, free: 50.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.907, allocations: 0 / 1.011 GB, free: 50.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007118/1.914, allocations: 1.589 MB / 1.013 GB, free: 48.88 MB / 0.573 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.05241/1.967, allocations: 21.28 MB / 1.033 GB, free: 28.73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02039/1.987, allocations: 7.955 MB / 1.041 GB, free: 20.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.987, allocations: 0 / 1.041 GB, free: 20.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01686/2.004, allocations: 5.981 MB / 1.047 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/2.008, allocations: 242 kB / 1.047 GB, free: 14.49 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/2.021, allocations: 6.281 MB / 1.053 GB, free: 8.188 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/2.023, allocations: 2.542 MB / 1.056 GB, free: 5.605 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001389/2.024, allocations: 294.8 kB / 1.056 GB, free: 5.324 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/2.026, allocations: 1.936 MB / 1.058 GB, free: 3.391 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/2.026, allocations: 0 / 1.058 GB, free: 3.391 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5788/2.605, allocations: 107.1 MB / 1.163 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/2.605, allocations: 143.7 kB / 1.163 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/10.17, allocations: 1.969 kB / 1.163 GB, free: 119.5 MB / 0.5886 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)