Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_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.001346/0.001346, allocations: 173.9 kB / 7.646 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.356/1.356, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0009347/0.0009348, allocations: 96.33 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4691/0.4691, allocations: 78.06 MB / 409.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.032e-05, allocations: 4 kB / 485 MB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3265, allocations: 69.36 MB / 0.5414 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4476, allocations: 97.2 MB / 0.6363 GB, free: 7.348 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4479, allocations: 75.97 kB / 0.6364 GB, free: 7.273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.457/0.9049, allocations: 59.89 MB / 0.6949 GB, free: 97.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.9049, allocations: 3 kB / 0.6949 GB, free: 97.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.905, allocations: 46.56 kB / 0.6949 GB, free: 97.36 MB / 490.7 MB 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.01053/0.9156, allocations: 3.737 MB / 0.6986 GB, free: 96.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9156, allocations: 7.875 kB / 0.6986 GB, free: 96.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009574/0.9252, allocations: 1.568 MB / 0.7001 GB, free: 95.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.9286, allocations: 1.448 MB / 0.7015 GB, free: 95.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006435/0.9293, allocations: 0.6069 MB / 0.7021 GB, free: 94.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000871/0.9302, allocations: 115.9 kB / 0.7022 GB, free: 94.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004558/0.9347, allocations: 2.085 MB / 0.7042 GB, free: 94.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.9387, allocations: 2.145 MB / 0.7063 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.9388, allocations: 0 / 0.7063 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.939, allocations: 0 / 0.7063 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.939, allocations: 45.84 kB / 0.7064 GB, free: 94.26 MB / 490.7 MB 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.01765/0.9567, allocations: 9.286 MB / 0.7155 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008656/0.9654, allocations: 3.948 MB / 0.7193 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.9676, allocations: 1.37 MB / 0.7206 GB, free: 86.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.968, allocations: 45.73 kB / 0.7207 GB, free: 86.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.968, allocations: 60.56 kB / 0.7207 GB, free: 86.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 5.25e-06/0.968, allocations: 0 / 0.7207 GB, free: 86.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03418/1.002, allocations: 11.9 MB / 0.7324 GB, free: 74.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.002, allocations: 133.7 kB / 0.7325 GB, free: 74.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/1.005, allocations: 1.483 MB / 0.7339 GB, free: 72.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007003/1.006, allocations: 29.7 kB / 0.734 GB, free: 72.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/1.007, allocations: 1.12 MB / 0.7351 GB, free: 71.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.008, allocations: 0.7465 MB / 0.7358 GB, free: 70.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/1.009, allocations: 0 / 0.7358 GB, free: 70.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/1.009, allocations: 390.2 kB / 0.7362 GB, free: 70.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/1.011, allocations: 1.106 MB / 0.7372 GB, free: 69.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.013, allocations: 1.404 MB / 0.7386 GB, free: 67.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/1.015, allocations: 1.213 MB / 0.7398 GB, free: 66.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.015, allocations: 7.938 kB / 0.7398 GB, free: 66.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03449/1.049, allocations: 12 MB / 0.7515 GB, free: 54.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006242/1.05, allocations: 2.726 MB / 0.7542 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.05, allocations: 8 kB / 0.7542 GB, free: 51.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01531/1.065, allocations: 4.961 MB / 0.759 GB, free: 46.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.067, allocations: 315.5 kB / 0.7594 GB, free: 46.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03445/1.101, allocations: 17.6 MB / 0.7765 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/1.105, allocations: 445.8 kB / 0.777 GB, free: 28.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/1.105, allocations: 79.98 kB / 0.777 GB, free: 28.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/1.105, allocations: 4 kB / 0.777 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0328/1.138, allocations: 11.69 MB / 0.7885 GB, free: 16.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.086e-05/1.138, allocations: 7.938 kB / 0.7885 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/1.153, allocations: 4.959 MB / 0.7933 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/1.155, allocations: 303.6 kB / 0.7936 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03823/1.193, allocations: 17.62 MB / 0.8108 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/1.197, allocations: 414.1 kB / 0.8112 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/1.198, allocations: 75.98 kB / 0.8113 GB, free: 9.09 MB / 0.4948 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.0007201/1.199, allocations: 141.7 kB / 0.8114 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03733/1.236, allocations: 11.91 MB / 0.823 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.237, allocations: 264.7 kB / 0.8233 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03767/1.275, allocations: 12.17 MB / 0.8352 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.275, allocations: 20 kB / 0.8352 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/1.275, allocations: 27.92 kB / 0.8352 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-05/1.275, allocations: 11.92 kB / 0.8352 GB, free: 0.4961 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 postOpt removeSimpleEquations (simulation): time 0.0438/1.319, allocations: 15.45 MB / 0.8503 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/1.319, allocations: 8.125 kB / 0.8503 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.321, allocations: 239.7 kB / 0.8506 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/1.336, allocations: 4.827 MB / 0.8553 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007145/1.337, allocations: 15.98 kB / 0.8553 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03511/1.372, allocations: 15.17 MB / 0.8701 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.372, allocations: 4 kB / 0.8701 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04183/1.414, allocations: 14.06 MB / 0.8838 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.415, allocations: 369.2 kB / 0.8842 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.416, allocations: 4 kB / 0.8842 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003334/1.42, allocations: 327.7 kB / 0.8845 GB, free: 13.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001962/1.422, allocations: 0.5485 MB / 0.885 GB, free: 13.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.422, allocations: 59.92 kB / 0.8851 GB, free: 13.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001793/1.424, allocations: 1.114 MB / 0.8862 GB, free: 11.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.41e-07/1.424, allocations: 0 / 0.8862 GB, free: 11.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006423/1.43, allocations: 1.544 MB / 0.8877 GB, free: 10.44 MB / 0.573 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.4277/1.858, allocations: 14.9 MB / 0.9023 GB, free: 174.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02862/1.886, allocations: 9.061 MB / 0.9111 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/1.887, allocations: 0 / 0.9111 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/1.898, allocations: 3.806 MB / 0.9148 GB, free: 173.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.9, allocations: 152.1 kB / 0.915 GB, free: 173.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.911, allocations: 4.14 MB / 0.919 GB, free: 172.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.913, allocations: 1.784 MB / 0.9207 GB, free: 171.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001608/1.915, allocations: 349.1 kB / 0.9211 GB, free: 171.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.916, allocations: 1.073 MB / 0.9221 GB, free: 171.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.163e-06/1.916, allocations: 0 / 0.9221 GB, free: 171.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/2.051, allocations: 89.88 MB / 1.01 GB, free: 105.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/2.051, allocations: 147 kB / 1.01 GB, free: 105.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.418/7.47, allocations: 0 / 1.01 GB, free: 105.1 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)