Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 99.59 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5226/0.5226, allocations: 78.08 MB / 409.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.676e-05, allocations: 3.938 kB / 485 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1589, allocations: 69.36 MB / 0.5414 GB, free: 6.719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.6287, allocations: 100.7 MB / 0.6397 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.629, allocations: 83.95 kB / 0.6398 GB, free: 14.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.247/0.876, allocations: 98.6 MB / 0.7361 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8761, allocations: 0 / 0.7361 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004499/0.8765, allocations: 91.94 kB / 0.7362 GB, free: 11.58 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01968/0.8962, allocations: 5.739 MB / 0.7418 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.8963, allocations: 9.344 kB / 0.7418 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/0.9144, allocations: 2.776 MB / 0.7445 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006876/0.9213, allocations: 2.225 MB / 0.7467 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.9225, allocations: 0.8713 MB / 0.7475 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.9238, allocations: 204 kB / 0.7477 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007784/0.9315, allocations: 3.427 MB / 0.7511 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007138/0.9387, allocations: 3.586 MB / 0.7546 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/0.9388, allocations: 0 / 0.7546 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.9392, allocations: 0 / 0.7546 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-05/0.9393, allocations: 84 kB / 0.7547 GB, free: 8.34 MB / 0.5573 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.3919/1.331, allocations: 18.04 MB / 0.7723 GB, free: 86.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/1.342, allocations: 4.682 MB / 0.7769 GB, free: 85.92 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/1.347, allocations: 2.111 MB / 0.7789 GB, free: 85.89 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/1.348, allocations: 73.19 kB / 0.779 GB, free: 85.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006069/1.354, allocations: 2.48 MB / 0.7814 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 1.235e-05/1.354, allocations: 0 / 0.7814 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05799/1.412, allocations: 17.29 MB / 0.7983 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/1.412, allocations: 142.4 kB / 0.7984 GB, free: 85.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009341/1.421, allocations: 2.441 MB / 0.8008 GB, free: 84.81 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.423, allocations: 26.31 kB / 0.8008 GB, free: 84.78 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/1.425, allocations: 1.988 MB / 0.8028 GB, free: 84.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/1.428, allocations: 1.247 MB / 0.804 GB, free: 83.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/1.429, allocations: 1.094 kB / 0.804 GB, free: 83.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004529/1.429, allocations: 442.6 kB / 0.8044 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/1.433, allocations: 1.764 MB / 0.8061 GB, free: 83.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/1.438, allocations: 2.322 MB / 0.8084 GB, free: 82.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/1.442, allocations: 1.951 MB / 0.8103 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-05/1.442, allocations: 8.109 kB / 0.8103 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05348/1.495, allocations: 17.34 MB / 0.8272 GB, free: 81.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/1.495, allocations: 67.94 kB / 0.8273 GB, free: 81.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/1.496, allocations: 11.19 kB / 0.8273 GB, free: 81.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02189/1.517, allocations: 6.903 MB / 0.8341 GB, free: 81.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/1.52, allocations: 0.5543 MB / 0.8346 GB, free: 81.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05892/1.579, allocations: 25.25 MB / 0.8593 GB, free: 71.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/1.586, allocations: 0.6299 MB / 0.8599 GB, free: 71.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008921/1.587, allocations: 136.3 kB / 0.86 GB, free: 71.46 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.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 (329): * Single equations (assignments): 326 * 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.0009233/1.588, allocations: 194.9 kB / 0.8602 GB, free: 71.31 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.047/1.635, allocations: 17.3 MB / 0.8771 GB, free: 66.19 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/1.637, allocations: 454.4 kB / 0.8775 GB, free: 65.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04736/1.685, allocations: 17.74 MB / 0.8948 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.205e-05/1.685, allocations: 36 kB / 0.8949 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/1.685, allocations: 28 kB / 0.8949 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001417/1.685, allocations: 21.67 kB / 0.8949 GB, free: 52.1 MB / 0.5573 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.05644/1.741, allocations: 22.34 MB / 0.9167 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/1.741, allocations: 5.344 kB / 0.9167 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.744, allocations: 388 kB / 0.9171 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02082/1.765, allocations: 6.97 MB / 0.9239 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/1.766, allocations: 16.86 kB / 0.9239 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04814/1.814, allocations: 24.16 MB / 0.9475 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.814, allocations: 0 / 0.9475 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05487/1.869, allocations: 20.58 MB / 0.9676 GB, free: 5.906 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.871, allocations: 0.5609 MB / 0.9682 GB, free: 5.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.872, allocations: 4 kB / 0.9682 GB, free: 5.316 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004682/1.876, allocations: 436.5 kB / 0.9686 GB, free: 4.891 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002882/1.879, allocations: 0.7841 MB / 0.9694 GB, free: 4.105 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004425/1.88, allocations: 95.98 kB / 0.9695 GB, free: 4.012 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003141/1.883, allocations: 1.805 MB / 0.9712 GB, free: 2.203 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/1.883, allocations: 0 / 0.9712 GB, free: 2.203 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006837/1.89, allocations: 1.586 MB / 0.9728 GB, free: 0.6211 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.3829/2.273, allocations: 21.26 MB / 0.9935 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02106/2.294, allocations: 7.955 MB / 1.001 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/2.294, allocations: 0 / 1.001 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01705/2.311, allocations: 5.951 MB / 1.007 GB, free: 108 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/2.314, allocations: 246.2 kB / 1.007 GB, free: 108 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.331, allocations: 6.216 MB / 1.013 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/2.333, allocations: 2.534 MB / 1.016 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00154/2.334, allocations: 295 kB / 1.016 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/2.336, allocations: 1.971 MB / 1.018 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/2.336, allocations: 0 / 1.018 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/2.492, allocations: 107.1 MB / 1.123 GB, free: 81 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/2.492, allocations: 135.4 kB / 1.123 GB, free: 80.81 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.355/8.847, allocations: 7 kB / 1.123 GB, free: 80.81 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)