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.0009638/0.0009641, allocations: 174.8 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.194/1.194, 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.0008491/0.0008492, allocations: 90.58 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06014/0.06014, allocations: 12.18 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2734/0.2734, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.902e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.4991, allocations: 103.7 MB / 0.6902 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4993, allocations: 74.7 kB / 0.6903 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2376/0.7369, allocations: 96.97 MB / 0.785 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7369, allocations: 0 / 0.785 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002155/0.7371, allocations: 91.88 kB / 0.785 GB, free: 5.887 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01683/0.754, allocations: 5.754 MB / 0.7907 GB, free: 56 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.754, allocations: 11.98 kB / 0.7907 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001299/0.7553, allocations: 488.8 kB / 0.7911 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.7726, allocations: 2.783 MB / 0.7939 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/0.7778, allocations: 2.263 MB / 0.7961 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000895/0.7787, allocations: 0.9847 MB / 0.797 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009823/0.7797, allocations: 347.9 kB / 0.7974 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007495/0.7872, allocations: 4.08 MB / 0.8013 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.7873, allocations: 8 kB / 0.8014 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/0.7877, allocations: 144 kB / 0.8015 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.7877, allocations: 87.95 kB / 0.8016 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006758/0.7945, allocations: 3.609 MB / 0.8051 GB, free: 1.004 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.03167/0.8262, allocations: 18.59 MB / 0.8233 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.8367, allocations: 4.801 MB / 0.8279 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/0.8407, allocations: 2.221 MB / 0.8301 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.8412, allocations: 66.91 kB / 0.8302 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004579/0.8458, allocations: 2.604 MB / 0.8327 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 8.746e-06/0.8458, allocations: 0 / 0.8327 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.05471/0.9005, allocations: 17.57 MB / 0.8499 GB, free: 1.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.9007, allocations: 145.8 kB / 0.85 GB, free: 1.602 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004708/0.9054, allocations: 2.642 MB / 0.8526 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009296/0.9063, allocations: 85.7 kB / 0.8527 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.9078, allocations: 1.998 MB / 0.8546 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001938/0.9098, allocations: 1.309 MB / 0.8559 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.9101, allocations: 72 kB / 0.856 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.9103, allocations: 441.8 kB / 0.8564 GB, free: 11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.9135, allocations: 1.835 MB / 0.8582 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.9171, allocations: 2.418 MB / 0.8606 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/0.9205, allocations: 2.095 MB / 0.8626 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.9206, allocations: 4 kB / 0.8626 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.3402/1.261, allocations: 17.74 MB / 0.8799 GB, free: 131 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/1.261, allocations: 65.38 kB / 0.88 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.261, allocations: 14.69 kB / 0.88 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02291/1.284, allocations: 6.968 MB / 0.8868 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/1.287, allocations: 0.5582 MB / 0.8873 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05335/1.34, allocations: 25.75 MB / 0.9125 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/1.346, allocations: 0.7082 MB / 0.9132 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/1.346, allocations: 132.6 kB / 0.9133 GB, free: 129 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 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.000753/1.347, allocations: 330.7 kB / 0.9136 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008373/1.348, allocations: 457.5 kB / 0.9141 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04839/1.396, allocations: 18.12 MB / 0.9318 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/1.396, allocations: 35.38 kB / 0.9318 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.081e-05/1.396, allocations: 35.17 kB / 0.9318 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-05/1.396, allocations: 18.28 kB / 0.9318 GB, free: 127.1 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.05415/1.45, allocations: 23.08 MB / 0.9544 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.451, allocations: 3.5 kB / 0.9544 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.453, allocations: 391.5 kB / 0.9548 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02058/1.473, allocations: 7.034 MB / 0.9616 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008958/1.474, allocations: 78.94 kB / 0.9617 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05001/1.524, allocations: 24.51 MB / 0.9856 GB, free: 92.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.524, allocations: 0 / 0.9856 GB, free: 92.85 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0521/1.576, allocations: 20.95 MB / 1.006 GB, free: 75.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.578, allocations: 0.549 MB / 1.007 GB, free: 75.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/1.579, allocations: 73.92 kB / 1.007 GB, free: 75.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004311/1.583, allocations: 0.4884 MB / 1.007 GB, free: 74.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00274/1.586, allocations: 0.7794 MB / 1.008 GB, free: 74.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/1.586, allocations: 95.42 kB / 1.008 GB, free: 74.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002443/1.589, allocations: 2.002 MB / 1.01 GB, free: 72.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/1.589, allocations: 0 / 1.01 GB, free: 72.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004843/1.594, allocations: 1.762 MB / 1.012 GB, free: 70.71 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,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.05258/1.646, allocations: 21.7 MB / 1.033 GB, free: 52.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.666, allocations: 8.227 MB / 1.041 GB, free: 45.26 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.666, allocations: 0 / 1.041 GB, free: 45.26 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01643/1.683, allocations: 6.12 MB / 1.047 GB, free: 39.62 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.685, allocations: 306.6 kB / 1.047 GB, free: 39.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.698, allocations: 6.564 MB / 1.054 GB, free: 32.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.699, allocations: 2.535 MB / 1.056 GB, free: 30.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001313/1.701, allocations: 292.1 kB / 1.056 GB, free: 29.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/1.703, allocations: 1.936 MB / 1.058 GB, free: 27.95 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/1.703, allocations: 0 / 1.058 GB, free: 27.95 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4375/2.14, allocations: 113.3 MB / 1.169 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001198/2.14, allocations: 195.8 kB / 1.169 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.141/8.281, allocations: 3.938 kB / 1.169 GB, free: 139.4 MB / 0.6042 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)