Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",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.001058/0.001058, allocations: 172.4 kB / 7.647 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.314/1.314, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0008605/0.0008605, allocations: 89.91 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.451/0.451, allocations: 78.94 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.988e-05, allocations: 4 kB / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 69.51 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.5017, allocations: 102.4 MB / 0.6425 GB, free: 11.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.502, allocations: 76.53 kB / 0.6426 GB, free: 11.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2568/0.7589, allocations: 100.7 MB / 0.7409 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7589, allocations: 2.344 kB / 0.7409 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004357/0.7594, allocations: 87.94 kB / 0.741 GB, free: 6.426 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.01955/0.7789, allocations: 5.786 MB / 0.7466 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.779, allocations: 8.031 kB / 0.7466 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.7968, allocations: 2.779 MB / 0.7493 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006428/0.8033, allocations: 2.298 MB / 0.7516 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.8043, allocations: 0.8385 MB / 0.7524 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.8058, allocations: 200 kB / 0.7526 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008669/0.8145, allocations: 3.451 MB / 0.756 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009072/0.8236, allocations: 3.614 MB / 0.7595 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.75e-05/0.8237, allocations: 0 / 0.7595 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.824, allocations: 0 / 0.7595 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.8241, allocations: 84 kB / 0.7596 GB, free: 3.047 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.3399/1.164, allocations: 18.19 MB / 0.7773 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009848/1.174, allocations: 4.678 MB / 0.7819 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.177, allocations: 2.132 MB / 0.784 GB, free: 84.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/1.178, allocations: 72.05 kB / 0.7841 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.178, allocations: 68.7 kB / 0.7841 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.179e-06/1.178, allocations: 0 / 0.7841 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05239/1.23, allocations: 17.19 MB / 0.8009 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.231, allocations: 176.9 kB / 0.8011 GB, free: 83.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/1.235, allocations: 2.486 MB / 0.8035 GB, free: 83.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009982/1.236, allocations: 26.92 kB / 0.8035 GB, free: 83.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.238, allocations: 2.009 MB / 0.8055 GB, free: 82.94 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.239, allocations: 1.255 MB / 0.8067 GB, free: 82.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/1.239, allocations: 1.312 kB / 0.8067 GB, free: 82.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.24, allocations: 440.4 kB / 0.8071 GB, free: 81.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/1.243, allocations: 1.769 MB / 0.8089 GB, free: 81.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/1.246, allocations: 2.331 MB / 0.8111 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/1.249, allocations: 1.967 MB / 0.8131 GB, free: 81.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.249, allocations: 3.5 kB / 0.8131 GB, free: 81.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.04984/1.299, allocations: 17.35 MB / 0.83 GB, free: 80.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001396/1.3, allocations: 6.674 MB / 0.8365 GB, free: 73.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/1.3, allocations: 15.91 kB / 0.8365 GB, free: 73.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02212/1.323, allocations: 6.924 MB / 0.8433 GB, free: 72.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/1.325, allocations: 0.5355 MB / 0.8438 GB, free: 72.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05064/1.376, allocations: 26.38 MB / 0.8696 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/1.382, allocations: 0.6386 MB / 0.8702 GB, free: 61.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006665/1.382, allocations: 133.9 kB / 0.8703 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.382, allocations: 4.688 kB / 0.8703 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04636/1.429, allocations: 16.86 MB / 0.8868 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.966e-05/1.429, allocations: 16.86 kB / 0.8868 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02144/1.45, allocations: 6.924 MB / 0.8936 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.453, allocations: 0.5258 MB / 0.8941 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05296/1.506, allocations: 26.35 MB / 0.9198 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.513, allocations: 0.6185 MB / 0.9204 GB, free: 24.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/1.514, allocations: 127.8 kB / 0.9206 GB, free: 24.46 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (325): * Single equations (assignments): 321 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009436/1.515, allocations: 201.7 kB / 0.9208 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04746/1.562, allocations: 17.19 MB / 0.9376 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/1.565, allocations: 454.4 kB / 0.938 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05149/1.616, allocations: 17.82 MB / 0.9554 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/1.616, allocations: 43.95 kB / 0.9554 GB, free: 13 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/1.616, allocations: 28 kB / 0.9555 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/1.617, allocations: 19.03 kB / 0.9555 GB, free: 12.97 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.06094/1.678, allocations: 22.6 MB / 0.9775 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/1.678, allocations: 4.719 kB / 0.9775 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.68, allocations: 412 kB / 0.9779 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02339/1.704, allocations: 6.873 MB / 0.9847 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001076/1.705, allocations: 19.98 kB / 0.9847 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4091/2.114, allocations: 22.31 MB / 1.006 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/2.114, allocations: 1.812 kB / 1.006 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05582/2.17, allocations: 20.51 MB / 1.026 GB, free: 112 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/2.171, allocations: 0.5608 MB / 1.027 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/2.172, allocations: 7.203 kB / 1.027 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/2.177, allocations: 451.7 kB / 1.027 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002654/2.179, allocations: 0.7659 MB / 1.028 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003024/2.18, allocations: 94.77 kB / 1.028 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00271/2.182, allocations: 1.839 MB / 1.03 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/2.182, allocations: 0.8125 kB / 1.03 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007854/2.19, allocations: 2.636 MB / 1.033 GB, free: 111.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05438/2.245, allocations: 21.2 MB / 1.053 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03817/2.283, allocations: 14.28 MB / 1.067 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.283, allocations: 0 / 1.067 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01768/2.301, allocations: 5.847 MB / 1.073 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/2.304, allocations: 247.9 kB / 1.073 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/2.32, allocations: 6.611 MB / 1.08 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/2.322, allocations: 2.61 MB / 1.082 GB, free: 102 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00295/2.325, allocations: 0.6111 MB / 1.083 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/2.327, allocations: 1.918 MB / 1.085 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/2.327, allocations: 0 / 1.085 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5129/2.84, allocations: 140.1 MB / 1.222 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/2.84, allocations: 135.2 kB / 1.222 GB, free: 109 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/10.93, allocations: 4.594 kB / 1.222 GB, free: 109 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)