Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.001408/0.001409, 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.367/1.367, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008922/0.000892, allocations: 95.53 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4994/0.4994, allocations: 78.95 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.83e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 69.51 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.6039, allocations: 97.78 MB / 0.638 GB, free: 276 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.6042, allocations: 80.75 kB / 0.6381 GB, free: 196 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1594/0.7636, allocations: 60.73 MB / 0.6974 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7637, allocations: 0 / 0.6974 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002775/0.764, allocations: 55.88 kB / 0.6975 GB, free: 3.309 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.0134/0.7774, allocations: 3.734 MB / 0.7011 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.7775, allocations: 8.031 kB / 0.7011 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.7875, allocations: 1.569 MB / 0.7026 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.7915, allocations: 1.452 MB / 0.7041 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007296/0.7923, allocations: 0.6084 MB / 0.7047 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008528/0.7932, allocations: 116 kB / 0.7048 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004815/0.798, allocations: 2.077 MB / 0.7068 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.8038, allocations: 2.137 MB / 0.7089 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.8039, allocations: 0 / 0.7089 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/0.8043, allocations: 4.891 kB / 0.7089 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.8044, allocations: 47.98 kB / 0.7089 GB, free: 7.312 MB / 0.5105 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.02114/0.8255, allocations: 9.289 MB / 0.718 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009754/0.8353, allocations: 3.95 MB / 0.7219 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.8378, allocations: 1.37 MB / 0.7232 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/0.8382, allocations: 41.95 kB / 0.7232 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.8383, allocations: 59.44 kB / 0.7233 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 3.887e-06/0.8383, allocations: 0 / 0.7233 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227): time 0.03812/0.8764, allocations: 11.91 MB / 0.7349 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.8765, allocations: 128.8 kB / 0.735 GB, free: 12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.8792, allocations: 1.484 MB / 0.7365 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006017/0.8799, allocations: 25.7 kB / 0.7365 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/0.8808, allocations: 1.12 MB / 0.7376 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.8819, allocations: 0.7581 MB / 0.7383 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.8823, allocations: 0 / 0.7383 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.8825, allocations: 382.2 kB / 0.7387 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.8844, allocations: 1.11 MB / 0.7398 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.8866, allocations: 1.4 MB / 0.7412 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.8886, allocations: 1.221 MB / 0.7424 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.8887, allocations: 0 / 0.7424 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0373/0.926, allocations: 12.01 MB / 0.7541 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00084/0.9268, allocations: 2.726 MB / 0.7567 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.9269, allocations: 4 kB / 0.7568 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/0.9433, allocations: 4.96 MB / 0.7616 GB, free: 408 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.945, allocations: 321 kB / 0.7619 GB, free: 88 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3597/1.305, allocations: 17.59 MB / 0.7791 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/1.309, allocations: 435.9 kB / 0.7795 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/1.309, allocations: 85.69 kB / 0.7796 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.309, allocations: 2.5 kB / 0.7796 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03827/1.348, allocations: 11.69 MB / 0.791 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.846e-05/1.348, allocations: 6.906 kB / 0.791 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01882/1.367, allocations: 4.952 MB / 0.7958 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.368, allocations: 308.8 kB / 0.7961 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04358/1.412, allocations: 17.61 MB / 0.8133 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/1.416, allocations: 413.8 kB / 0.8137 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/1.416, allocations: 75.02 kB / 0.8138 GB, free: 108.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0006893/1.417, allocations: 154.2 kB / 0.8139 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03661/1.453, allocations: 11.91 MB / 0.8256 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.455, allocations: 268.7 kB / 0.8258 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03784/1.493, allocations: 12.17 MB / 0.8377 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.493, allocations: 24.89 kB / 0.8377 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/1.493, allocations: 20.62 kB / 0.8378 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.886e-05/1.493, allocations: 13.16 kB / 0.8378 GB, free: 103.7 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.04175/1.535, allocations: 15.46 MB / 0.8529 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/1.535, allocations: 0 / 0.8529 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/1.536, allocations: 247.8 kB / 0.8531 GB, free: 99.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01518/1.552, allocations: 4.826 MB / 0.8578 GB, free: 96.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005818/1.552, allocations: 15.66 kB / 0.8578 GB, free: 96.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03178/1.584, allocations: 15.17 MB / 0.8727 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.584, allocations: 4 kB / 0.8727 GB, free: 83.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03897/1.623, allocations: 14.06 MB / 0.8864 GB, free: 71.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/1.624, allocations: 373.3 kB / 0.8867 GB, free: 71.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/1.625, allocations: 8 kB / 0.8867 GB, free: 71.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.627, allocations: 334.6 kB / 0.8871 GB, free: 71.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/1.629, allocations: 0.5397 MB / 0.8876 GB, free: 70.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.629, allocations: 52 kB / 0.8876 GB, free: 70.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001326/1.631, allocations: 1.119 MB / 0.8887 GB, free: 69.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/1.631, allocations: 0 / 0.8887 GB, free: 69.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004616/1.635, allocations: 1.539 MB / 0.8902 GB, free: 68.21 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03649/1.672, allocations: 14.92 MB / 0.9048 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0247/1.696, allocations: 9.051 MB / 0.9136 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.696, allocations: 0 / 0.9136 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/1.708, allocations: 3.807 MB / 0.9174 GB, free: 44.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.71, allocations: 149.1 kB / 0.9175 GB, free: 44.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/1.718, allocations: 4.146 MB / 0.9216 GB, free: 40.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009329/1.719, allocations: 1.791 MB / 0.9233 GB, free: 39.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001457/1.72, allocations: 347.4 kB / 0.9236 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009996/1.721, allocations: 1.074 MB / 0.9247 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/1.721, allocations: 0 / 0.9247 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4248/2.146, allocations: 89.89 MB / 1.012 GB, free: 125.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/2.146, allocations: 148.7 kB / 1.013 GB, free: 124.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.223/7.369, allocations: 0 / 1.013 GB, free: 124.9 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)