Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.001138/0.001138, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008835/0.0008837, allocations: 94.53 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09097/0.09097, allocations: 12.19 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2921/0.2921, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.346e-05, allocations: 4 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 69.24 MB / 0.5819 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5458/0.7031, allocations: 99.44 MB / 0.679 GB, free: 9.078 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.7034, allocations: 84.42 kB / 0.679 GB, free: 9.035 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.15/0.8535, allocations: 58.26 MB / 0.7359 GB, free: 9.379 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8536, allocations: 0 / 0.7359 GB, free: 9.379 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001997/0.8538, allocations: 55.88 kB / 0.736 GB, free: 9.324 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01334/0.8671, allocations: 3.744 MB / 0.7396 GB, free: 5.844 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.8672, allocations: 8.031 kB / 0.7397 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.8776, allocations: 1.566 MB / 0.7412 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/0.8823, allocations: 1.464 MB / 0.7426 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007748/0.8832, allocations: 0.6161 MB / 0.7432 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009453/0.8841, allocations: 112 kB / 0.7433 GB, free: 2.086 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005048/0.8892, allocations: 2.077 MB / 0.7454 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/0.8937, allocations: 2.142 MB / 0.7474 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.8938, allocations: 4 kB / 0.7474 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.894, allocations: 0 / 0.7474 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.8941, allocations: 44 kB / 0.7475 GB, free: 13.8 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.02328/0.9174, allocations: 9.301 MB / 0.7566 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.9278, allocations: 3.963 MB / 0.7604 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.9309, allocations: 1.37 MB / 0.7618 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.9313, allocations: 37.89 kB / 0.7618 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.9313, allocations: 52.56 kB / 0.7619 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=228): time 7.043e-06/0.9314, allocations: 0 / 0.7619 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=228): time 0.0392/0.9706, allocations: 11.92 MB / 0.7735 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/0.9707, allocations: 128.8 kB / 0.7736 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.9739, allocations: 1.479 MB / 0.7751 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009229/0.9748, allocations: 25.7 kB / 0.7751 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.976, allocations: 1.14 MB / 0.7762 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/0.9776, allocations: 0.7619 MB / 0.777 GB, free: 15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.9778, allocations: 0 / 0.777 GB, free: 15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.978, allocations: 382.2 kB / 0.7773 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.9802, allocations: 1.11 MB / 0.7784 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.9826, allocations: 1.408 MB / 0.7798 GB, free: 12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.9848, allocations: 1.219 MB / 0.781 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.9848, allocations: 4 kB / 0.781 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03775/1.023, allocations: 12.02 MB / 0.7927 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001319/1.024, allocations: 2.727 MB / 0.7954 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/1.024, allocations: 11.98 kB / 0.7954 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/1.041, allocations: 4.965 MB / 0.8002 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.043, allocations: 319.5 kB / 0.8005 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04485/1.088, allocations: 17.56 MB / 0.8177 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004417/1.092, allocations: 445.9 kB / 0.8181 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00071/1.093, allocations: 71.98 kB / 0.8182 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.093, allocations: 7.938 kB / 0.8182 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03729/1.13, allocations: 11.7 MB / 0.8296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-05/1.13, allocations: 8 kB / 0.8296 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01758/1.148, allocations: 4.969 MB / 0.8345 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.15, allocations: 311.5 kB / 0.8348 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0411/1.191, allocations: 17.55 MB / 0.8519 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003679/1.195, allocations: 422 kB / 0.8523 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005407/1.196, allocations: 83.98 kB / 0.8524 GB, free: 1.066 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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 (186): * Single equations (assignments): 185 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007828/1.196, allocations: 150.1 kB / 0.8525 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3533/1.55, allocations: 11.89 MB / 0.8641 GB, free: 152.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.551, allocations: 269.5 kB / 0.8644 GB, free: 152.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04276/1.594, allocations: 12.17 MB / 0.8763 GB, free: 152.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/1.594, allocations: 21.88 kB / 0.8763 GB, free: 152.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/1.594, allocations: 24.84 kB / 0.8763 GB, free: 152.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.306e-05/1.594, allocations: 14.83 kB / 0.8763 GB, free: 152.4 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.04172/1.636, allocations: 15.46 MB / 0.8914 GB, free: 151.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.636, allocations: 0 / 0.8914 GB, free: 151.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.638, allocations: 254.6 kB / 0.8917 GB, free: 151.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/1.652, allocations: 4.788 MB / 0.8964 GB, free: 150.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006719/1.653, allocations: 16.17 kB / 0.8964 GB, free: 150.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03332/1.686, allocations: 15.16 MB / 0.9112 GB, free: 148.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.686, allocations: 0 / 0.9112 GB, free: 148.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03783/1.724, allocations: 14.07 MB / 0.9249 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000922/1.725, allocations: 377 kB / 0.9253 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009395/1.726, allocations: 4 kB / 0.9253 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003469/1.729, allocations: 330.5 kB / 0.9256 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002412/1.732, allocations: 0.5541 MB / 0.9261 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005421/1.732, allocations: 55.42 kB / 0.9262 GB, free: 139.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002088/1.734, allocations: 1.106 MB / 0.9273 GB, free: 138.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.61e-07/1.734, allocations: 0 / 0.9273 GB, free: 138.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006609/1.741, allocations: 1.538 MB / 0.9288 GB, free: 136.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03846/1.78, allocations: 14.93 MB / 0.9434 GB, free: 124.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02587/1.805, allocations: 9.105 MB / 0.9522 GB, free: 116.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.806, allocations: 1.75 kB / 0.9523 GB, free: 116.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/1.817, allocations: 3.802 MB / 0.956 GB, free: 112.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.818, allocations: 152.8 kB / 0.9561 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/1.826, allocations: 4.217 MB / 0.9602 GB, free: 109 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/1.827, allocations: 1.788 MB / 0.962 GB, free: 107.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001486/1.829, allocations: 352.7 kB / 0.9623 GB, free: 107.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009391/1.83, allocations: 1.052 MB / 0.9633 GB, free: 106.4 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/1.83, allocations: 0 / 0.9633 GB, free: 106.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.958, allocations: 89.9 MB / 1.051 GB, free: 18.51 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.959, allocations: 151.4 kB / 1.051 GB, free: 18.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.672/7.631, allocations: 4 kB / 1.051 GB, free: 18.31 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)