Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.001507/0.001507, allocations: 178.4 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.387/1.387, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.0008415/0.0008415, allocations: 95.06 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4745/0.4745, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.346e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 69.36 MB / 0.5414 GB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.55, allocations: 98.13 MB / 0.6373 GB, free: 1.434 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5503, allocations: 75.95 kB / 0.6373 GB, free: 1.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09906/0.6493, allocations: 36.01 MB / 0.6725 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6494, allocations: 0 / 0.6725 GB, free: 13.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.6494, allocations: 28 kB / 0.6725 GB, free: 13.32 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00433/0.6538, allocations: 1.714 MB / 0.6742 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6538, allocations: 8.031 kB / 0.6742 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.6573, allocations: 0.5641 MB / 0.6748 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.659, allocations: 0.784 MB / 0.6755 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.6593, allocations: 233.2 kB / 0.6757 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.6594, allocations: 51.91 kB / 0.6758 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001526/0.661, allocations: 0.8006 MB / 0.6766 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.6625, allocations: 0.8251 MB / 0.6774 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.6625, allocations: 0 / 0.6774 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/0.6626, allocations: 7.938 kB / 0.6774 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.6626, allocations: 16 kB / 0.6774 GB, free: 8.16 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.006824/0.6695, allocations: 3.66 MB / 0.681 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008326/0.6778, allocations: 2.618 MB / 0.6835 GB, free: 1.613 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.679, allocations: 0.5129 MB / 0.684 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.6792, allocations: 20.77 kB / 0.6841 GB, free: 1.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.6805, allocations: 0.641 MB / 0.6847 GB, free: 428 kB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/0.6805, allocations: 3.938 kB / 0.6847 GB, free: 424 kB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.0126/0.6931, allocations: 3.926 MB / 0.6885 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6932, allocations: 111.6 kB / 0.6886 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.6944, allocations: 0.8068 MB / 0.6894 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.6946, allocations: 31.47 kB / 0.6894 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.695, allocations: 0.5165 MB / 0.6899 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.6954, allocations: 331.1 kB / 0.6903 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.6955, allocations: 0 / 0.6903 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6956, allocations: 345.9 kB / 0.6906 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.6963, allocations: 442.6 kB / 0.691 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/0.6971, allocations: 0.5575 MB / 0.6916 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.6979, allocations: 494.2 kB / 0.692 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6979, allocations: 0 / 0.692 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01244/0.7103, allocations: 3.958 MB / 0.6959 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/0.7105, allocations: 59.41 kB / 0.696 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.7105, allocations: 4.703 kB / 0.696 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005507/0.716, allocations: 1.499 MB / 0.6974 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.7171, allocations: 187.7 kB / 0.6976 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.7306, allocations: 6.556 MB / 0.704 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.7322, allocations: 194.9 kB / 0.7042 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.7323, allocations: 35.98 kB / 0.7042 GB, free: 12.14 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis 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 (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.7327, allocations: 154.1 kB / 0.7044 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01218/0.7449, allocations: 3.934 MB / 0.7082 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/0.7455, allocations: 122.5 kB / 0.7083 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.7577, allocations: 4.035 MB / 0.7123 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.7578, allocations: 12 kB / 0.7123 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7578, allocations: 4 kB / 0.7123 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/0.7579, allocations: 7.984 kB / 0.7123 GB, free: 3.824 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.01415/0.772, allocations: 5.497 MB / 0.7177 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.7721, allocations: 7.938 kB / 0.7177 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.7729, allocations: 95.89 kB / 0.7178 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004892/0.7778, allocations: 1.471 MB / 0.7192 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.778, allocations: 8 kB / 0.7192 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/0.7914, allocations: 7.548 MB / 0.7266 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7914, allocations: 3.25 kB / 0.7266 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.8049, allocations: 4.773 MB / 0.7312 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.8055, allocations: 231.2 kB / 0.7315 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.8057, allocations: 0 / 0.7315 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8069, allocations: 127.9 kB / 0.7316 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/0.8075, allocations: 197 kB / 0.7318 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.8076, allocations: 31.92 kB / 0.7318 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008427/0.8084, allocations: 0.6098 MB / 0.7324 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8084, allocations: 4.781 kB / 0.7324 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001267/0.8097, allocations: 391.5 kB / 0.7328 GB, free: 14.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01332/0.823, allocations: 5.432 MB / 0.7381 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005057/0.8281, allocations: 1.991 MB / 0.74 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.8282, allocations: 0 / 0.74 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004026/0.8322, allocations: 1.533 MB / 0.7415 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/0.8331, allocations: 90.69 kB / 0.7416 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.8373, allocations: 1.866 MB / 0.7434 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.8381, allocations: 1.143 MB / 0.7445 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00041/0.8386, allocations: 98.61 kB / 0.7446 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/0.8392, allocations: 471.3 kB / 0.7451 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of SimCode: time 6.62e-07/0.8392, allocations: 0 / 0.7451 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3166/1.156, allocations: 28.66 MB / 0.7731 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.156, allocations: 150 kB / 0.7732 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/4.085, allocations: 0.9844 kB / 0.7732 GB, free: 147.5 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)