Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",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.0009474/0.0009476, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009014/0.0009015, allocations: 93.31 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4646/0.4646, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.56e-05, allocations: 8 kB / 491.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3361, allocations: 69.33 MB / 0.5481 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4589, allocations: 100.9 MB / 0.6467 GB, free: 15.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4592, allocations: 71.95 kB / 0.6467 GB, free: 15.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08432/0.5436, allocations: 29.84 MB / 0.6759 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5436, allocations: 0 / 0.6759 GB, free: 1.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.079e-05/0.5437, allocations: 31.94 kB / 0.6759 GB, free: 1.445 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.2994/0.8431, allocations: 1.462 MB / 0.6773 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.8432, allocations: 13.06 kB / 0.6773 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006087/0.8438, allocations: 107.6 kB / 0.6774 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.8468, allocations: 418.6 kB / 0.6778 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.8488, allocations: 0.8643 MB / 0.6787 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.8491, allocations: 245.8 kB / 0.6789 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.8493, allocations: 71.31 kB / 0.679 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.851, allocations: 0.8533 MB / 0.6798 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.851, allocations: 0 / 0.6798 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.8511, allocations: 25.44 kB / 0.6798 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.8511, allocations: 17.38 kB / 0.6799 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.8526, allocations: 0.7791 MB / 0.6806 GB, free: 104.1 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.007111/0.8597, allocations: 3.628 MB / 0.6842 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.8739, allocations: 4.003 MB / 0.6881 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/0.8749, allocations: 484 kB / 0.6885 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.875, allocations: 14.48 kB / 0.6885 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.8751, allocations: 38.62 kB / 0.6886 GB, free: 103.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/0.8751, allocations: 4 kB / 0.6886 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005919/0.881, allocations: 2.145 MB / 0.6907 GB, free: 102.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.8811, allocations: 115.9 kB / 0.6908 GB, free: 102.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.8824, allocations: 0.9366 MB / 0.6917 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.8826, allocations: 37.7 kB / 0.6917 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.8829, allocations: 486.9 kB / 0.6922 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.8831, allocations: 273.8 kB / 0.6925 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.8832, allocations: 15.53 kB / 0.6925 GB, free: 101.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.8833, allocations: 336.1 kB / 0.6928 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.8839, allocations: 432.9 kB / 0.6932 GB, free: 101.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.8846, allocations: 0.5334 MB / 0.6937 GB, free: 101 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.8853, allocations: 470.9 kB / 0.6942 GB, free: 100.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8853, allocations: 0 / 0.6942 GB, free: 100.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006084/0.8914, allocations: 2.385 MB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.8915, allocations: 0.6197 MB / 0.6971 GB, free: 99.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8915, allocations: 3.688 kB / 0.6971 GB, free: 99.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/0.895, allocations: 0.9639 MB / 0.6981 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.896, allocations: 159.9 kB / 0.6982 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.9028, allocations: 4.177 MB / 0.7023 GB, free: 96.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.9045, allocations: 179.5 kB / 0.7025 GB, free: 96.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.9046, allocations: 29.97 kB / 0.7025 GB, free: 96.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.9046, allocations: 3.938 kB / 0.7025 GB, free: 96.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006262/0.9109, allocations: 2.243 MB / 0.7047 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9109, allocations: 2.812 kB / 0.7047 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/0.9145, allocations: 0.966 MB / 0.7056 GB, free: 95.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.9154, allocations: 150.2 kB / 0.7058 GB, free: 95.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.9222, allocations: 4.172 MB / 0.7099 GB, free: 92.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.9238, allocations: 156.8 kB / 0.71 GB, free: 92.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9239, allocations: 31.89 kB / 0.71 GB, free: 92.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002429/0.9242, allocations: 142.6 kB / 0.7102 GB, free: 92.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.9245, allocations: 114.6 kB / 0.7103 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/0.9303, allocations: 2.247 MB / 0.7125 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.9304, allocations: 8 kB / 0.7125 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9304, allocations: 8 kB / 0.7125 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.9304, allocations: 3.422 kB / 0.7125 GB, free: 90.32 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 postOpt removeSimpleEquations (simulation): time 0.007517/0.9379, allocations: 3.835 MB / 0.7162 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.938, allocations: 0 / 0.7162 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.9388, allocations: 110.2 kB / 0.7163 GB, free: 87.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.9415, allocations: 0.8602 MB / 0.7172 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.9417, allocations: 16 kB / 0.7172 GB, free: 86.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/0.9469, allocations: 3.363 MB / 0.7205 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.9469, allocations: 3.062 kB / 0.7205 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006566/0.9535, allocations: 2.895 MB / 0.7233 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005634/0.9541, allocations: 230.4 kB / 0.7235 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.9543, allocations: 19.95 kB / 0.7236 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.9555, allocations: 128.6 kB / 0.7237 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.9559, allocations: 142.2 kB / 0.7238 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.9559, allocations: 20 kB / 0.7238 GB, free: 80.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008846/0.9568, allocations: 0.7269 MB / 0.7245 GB, free: 79.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9568, allocations: 0 / 0.7245 GB, free: 79.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001337/0.9582, allocations: 0.5493 MB / 0.7251 GB, free: 79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006492/0.9647, allocations: 3.556 MB / 0.7286 GB, free: 75.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006426/0.9711, allocations: 3.083 MB / 0.7316 GB, free: 72.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9712, allocations: 0 / 0.7316 GB, free: 72.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.9737, allocations: 1.219 MB / 0.7328 GB, free: 71.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.9747, allocations: 105.6 kB / 0.7329 GB, free: 71.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.979, allocations: 2.132 MB / 0.7349 GB, free: 69.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.9795, allocations: 1.117 MB / 0.736 GB, free: 68.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008602/0.9803, allocations: 210.1 kB / 0.7362 GB, free: 68.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/0.9808, allocations: 404.8 kB / 0.7366 GB, free: 68.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/0.9808, allocations: 0 / 0.7366 GB, free: 68.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/1.042, allocations: 31.48 MB / 0.7673 GB, free: 37.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.042, allocations: 168.1 kB / 0.7675 GB, free: 37.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.873, allocations: 0 / 0.7675 GB, free: 37.23 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)