Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.001171/0.001171, allocations: 174.7 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.242/1.242, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0008224/0.0008224, allocations: 80.52 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06093/0.06093, allocations: 12.2 MB / 326.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2787/0.2787, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.409e-05/4.418e-05, allocations: 8 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 69.24 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4976, allocations: 103.3 MB / 0.6898 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.498, allocations: 82.14 kB / 0.6899 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2421/0.7401, allocations: 95.64 MB / 0.7833 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7402, allocations: 0 / 0.7833 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003771/0.7405, allocations: 87.94 kB / 0.7833 GB, free: 7.629 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01898/0.7595, allocations: 5.739 MB / 0.7889 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.7596, allocations: 11.98 kB / 0.789 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001587/0.7612, allocations: 484.8 kB / 0.7894 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/0.7792, allocations: 2.791 MB / 0.7921 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.7853, allocations: 2.271 MB / 0.7944 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008727/0.7862, allocations: 0.9557 MB / 0.7953 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009787/0.7872, allocations: 347.9 kB / 0.7956 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.7951, allocations: 4.073 MB / 0.7996 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/0.7952, allocations: 0 / 0.7996 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.7956, allocations: 144 kB / 0.7997 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/0.7957, allocations: 87.95 kB / 0.7998 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006608/0.8023, allocations: 3.613 MB / 0.8034 GB, free: 2.793 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.03636/0.8387, allocations: 18.62 MB / 0.8215 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.8502, allocations: 4.752 MB / 0.8262 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004748/0.855, allocations: 2.229 MB / 0.8284 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.8555, allocations: 62.92 kB / 0.8284 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.8556, allocations: 69.55 kB / 0.8285 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.851e-06/0.8556, allocations: 0 / 0.8285 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.05107/0.9067, allocations: 17.45 MB / 0.8455 GB, free: 6.238 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.9068, allocations: 175.5 kB / 0.8457 GB, free: 6.035 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/0.9112, allocations: 2.626 MB / 0.8483 GB, free: 3.391 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009187/0.9121, allocations: 85.7 kB / 0.8483 GB, free: 3.301 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.9135, allocations: 1.99 MB / 0.8503 GB, free: 1.293 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00177/0.9152, allocations: 1.294 MB / 0.8515 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.9155, allocations: 72 kB / 0.8516 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.9158, allocations: 445.5 kB / 0.852 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.9189, allocations: 1.819 MB / 0.8538 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003657/0.9226, allocations: 2.403 MB / 0.8562 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003812/0.9264, allocations: 2.074 MB / 0.8582 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.9265, allocations: 4 kB / 0.8582 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.3314/1.258, allocations: 17.65 MB / 0.8754 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001364/1.259, allocations: 6.673 MB / 0.8819 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/1.259, allocations: 18.44 kB / 0.882 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02338/1.283, allocations: 6.915 MB / 0.8887 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/1.286, allocations: 0.5397 MB / 0.8892 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05427/1.34, allocations: 25.54 MB / 0.9142 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/1.346, allocations: 0.6907 MB / 0.9149 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006762/1.346, allocations: 135.1 kB / 0.915 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.346, allocations: 3.219 kB / 0.915 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04512/1.391, allocations: 17.24 MB / 0.9318 GB, free: 119 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.091e-05/1.392, allocations: 13.62 kB / 0.9318 GB, free: 119 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/1.412, allocations: 6.919 MB / 0.9386 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/1.415, allocations: 0.5363 MB / 0.9391 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05248/1.467, allocations: 25.53 MB / 0.9641 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00537/1.473, allocations: 0.6592 MB / 0.9647 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/1.473, allocations: 132.8 kB / 0.9648 GB, free: 106.3 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 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008892/1.474, allocations: 336.5 kB / 0.9651 GB, free: 106 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.475, allocations: 457.1 kB / 0.9656 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04687/1.522, allocations: 17.98 MB / 0.9831 GB, free: 91.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.522, allocations: 40 kB / 0.9832 GB, free: 91.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/1.522, allocations: 32 kB / 0.9832 GB, free: 91.83 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.842e-05/1.522, allocations: 17.81 kB / 0.9832 GB, free: 91.83 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.05495/1.577, allocations: 23.22 MB / 1.006 GB, free: 74.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/1.577, allocations: 4 kB / 1.006 GB, free: 74.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.58, allocations: 405.7 kB / 1.006 GB, free: 73.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02031/1.6, allocations: 6.963 MB / 1.013 GB, free: 68.51 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008271/1.601, allocations: 77.7 kB / 1.013 GB, free: 68.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04599/1.647, allocations: 22.54 MB / 1.035 GB, free: 48.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.647, allocations: 3.938 kB / 1.035 GB, free: 48.47 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05171/1.699, allocations: 20.81 MB / 1.055 GB, free: 30.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.7, allocations: 0.5478 MB / 1.056 GB, free: 29.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.702, allocations: 72 kB / 1.056 GB, free: 29.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004842/1.707, allocations: 487.6 kB / 1.057 GB, free: 29.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002877/1.71, allocations: 0.7684 MB / 1.057 GB, free: 28.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003259/1.71, allocations: 91.98 kB / 1.057 GB, free: 28.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00275/1.713, allocations: 2.002 MB / 1.059 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/1.713, allocations: 0 / 1.059 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007572/1.721, allocations: 2.857 MB / 1.062 GB, free: 23.59 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,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 (250): * Single equations (assignments): 248 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05049/1.771, allocations: 21.55 MB / 1.083 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03758/1.809, allocations: 14.44 MB / 1.097 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.809, allocations: 384 / 1.097 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.2872/2.096, allocations: 5.982 MB / 1.103 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/2.1, allocations: 310 kB / 1.103 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/2.115, allocations: 6.694 MB / 1.11 GB, free: 143 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/2.118, allocations: 2.593 MB / 1.113 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003284/2.121, allocations: 0.6069 MB / 1.113 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/2.123, allocations: 1.906 MB / 1.115 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/2.123, allocations: 0 / 1.115 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/2.317, allocations: 147.6 MB / 1.259 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/2.317, allocations: 186.7 kB / 1.259 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/10.14, allocations: 0 / 1.259 GB, free: 62.5 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)