Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",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.001253/0.001253, allocations: 176.2 kB / 7.649 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.345/1.345, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009424/0.0009424, allocations: 87.61 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4893/0.4893, allocations: 78.13 MB / 409.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.734e-05, allocations: 3.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 69.37 MB / 0.5414 GB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.5272, allocations: 98.51 MB / 0.6376 GB, free: 1.047 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.5275, allocations: 75.97 kB / 0.6377 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08682/0.6143, allocations: 31.8 MB / 0.6688 GB, free: 1.211 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6143, allocations: 0 / 0.6688 GB, free: 1.211 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.504e-05/0.6144, allocations: 24 kB / 0.6688 GB, free: 1.188 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004367/0.6188, allocations: 1.742 MB / 0.6705 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6188, allocations: 8.031 kB / 0.6705 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.6222, allocations: 0.5615 MB / 0.671 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.6238, allocations: 0.7784 MB / 0.6718 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.6241, allocations: 244.1 kB / 0.672 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.6242, allocations: 51.95 kB / 0.6721 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/0.6257, allocations: 0.8045 MB / 0.6729 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.6272, allocations: 0.8407 MB / 0.6737 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6272, allocations: 0 / 0.6737 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.6273, allocations: 3.984 kB / 0.6737 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.6274, allocations: 20 kB / 0.6737 GB, free: 11.98 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.006934/0.6343, allocations: 3.72 MB / 0.6773 GB, free: 8.094 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/0.6417, allocations: 2.626 MB / 0.6799 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.6429, allocations: 0.5251 MB / 0.6804 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.643, allocations: 21.78 kB / 0.6804 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.6441, allocations: 0.6541 MB / 0.6811 GB, free: 4.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.015e-06/0.6441, allocations: 4 kB / 0.6811 GB, free: 4.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01263/0.6568, allocations: 3.946 MB / 0.6849 GB, free: 192 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.6569, allocations: 115.6 kB / 0.685 GB, free: 48 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6583, allocations: 0.8428 MB / 0.6859 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.6586, allocations: 29.7 kB / 0.6859 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.659, allocations: 0.5245 MB / 0.6864 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.6594, allocations: 335 kB / 0.6867 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.6594, allocations: 3.938 kB / 0.6867 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6596, allocations: 353.9 kB / 0.6871 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007835/0.6604, allocations: 447.3 kB / 0.6875 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.6612, allocations: 0.5666 MB / 0.688 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.662, allocations: 0.4943 MB / 0.6885 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.662, allocations: 4 kB / 0.6885 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01264/0.6747, allocations: 3.978 MB / 0.6924 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.6748, allocations: 59.41 kB / 0.6925 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6748, allocations: 4 kB / 0.6925 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/0.6804, allocations: 1.515 MB / 0.694 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.6818, allocations: 211.2 kB / 0.6942 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.6969, allocations: 6.524 MB / 0.7005 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.6994, allocations: 190.9 kB / 0.7007 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.6996, allocations: 35.98 kB / 0.7007 GB, free: 15.74 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005052/0.7001, allocations: 157.8 kB / 0.7009 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01689/0.717, allocations: 3.958 MB / 0.7048 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/0.7178, allocations: 127.5 kB / 0.7049 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/0.7353, allocations: 4.058 MB / 0.7088 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.7354, allocations: 12 kB / 0.7089 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.7355, allocations: 7.953 kB / 0.7089 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-05/0.7355, allocations: 11.97 kB / 0.7089 GB, free: 7.367 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.02037/0.7559, allocations: 5.55 MB / 0.7143 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.756, allocations: 0 / 0.7143 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.7572, allocations: 107.9 kB / 0.7144 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008109/0.7653, allocations: 1.477 MB / 0.7158 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/0.7657, allocations: 10.56 kB / 0.7159 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/0.789, allocations: 7.535 MB / 0.7232 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.789, allocations: 3.938 kB / 0.7232 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/0.8112, allocations: 4.817 MB / 0.7279 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/0.812, allocations: 231.2 kB / 0.7281 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006501/0.8127, allocations: 4 kB / 0.7281 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.8151, allocations: 127.9 kB / 0.7283 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/0.8162, allocations: 197 kB / 0.7285 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000252/0.8165, allocations: 27.98 kB / 0.7285 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001721/0.8182, allocations: 0.6415 MB / 0.7291 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/0.8183, allocations: 0 / 0.7291 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002707/0.821, allocations: 399.5 kB / 0.7295 GB, free: 1.867 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02262/0.8436, allocations: 5.472 MB / 0.7348 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008779/0.8525, allocations: 2.042 MB / 0.7368 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.8525, allocations: 0 / 0.7368 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006992/0.8595, allocations: 1.547 MB / 0.7383 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.8614, allocations: 96.73 kB / 0.7384 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/0.8699, allocations: 1.968 MB / 0.7403 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.8711, allocations: 1.155 MB / 0.7415 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008981/0.872, allocations: 101.9 kB / 0.7416 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.8732, allocations: 471.3 kB / 0.742 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of SimCode: time 3.847e-06/0.8733, allocations: 0 / 0.742 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4807/1.354, allocations: 29.23 MB / 0.7706 GB, free: 146 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000118/1.354, allocations: 148.8 kB / 0.7707 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/4.392, allocations: 2.125 kB / 0.7707 GB, free: 145.8 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)