Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_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.0009834/0.0009834, allocations: 177 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.205/1.205, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008151/0.0008152, allocations: 95.59 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4347/0.4347, allocations: 78.94 MB / 410.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.217e-05, allocations: 4 kB / 486 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 69.51 MB / 0.5425 GB, free: 5.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4927, allocations: 101 MB / 0.6411 GB, free: 13 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.4929, allocations: 68.5 kB / 0.6412 GB, free: 12.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07854/0.5714, allocations: 29.7 MB / 0.6702 GB, free: 15.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5715, allocations: 0 / 0.6702 GB, free: 15.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.5716, allocations: 24 kB / 0.6702 GB, free: 15.29 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.003922/0.5755, allocations: 1.47 MB / 0.6716 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5756, allocations: 8.031 kB / 0.6716 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.578, allocations: 418 kB / 0.672 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.5797, allocations: 0.8683 MB / 0.6729 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.58, allocations: 223.8 kB / 0.6731 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.5802, allocations: 43.95 kB / 0.6731 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/0.5817, allocations: 0.7563 MB / 0.6739 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5831, allocations: 0.7509 MB / 0.6746 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5831, allocations: 4.938 kB / 0.6746 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.5832, allocations: 0 / 0.6746 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.5832, allocations: 12 kB / 0.6746 GB, free: 10.59 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.005962/0.5892, allocations: 3.499 MB / 0.6781 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.6027, allocations: 3.979 MB / 0.6819 GB, free: 2.953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/0.6035, allocations: 463.2 kB / 0.6824 GB, free: 2.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.6036, allocations: 16.7 kB / 0.6824 GB, free: 2.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.6036, allocations: 47.33 kB / 0.6824 GB, free: 2.426 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.314e-06/0.6036, allocations: 0 / 0.6824 GB, free: 2.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00561/0.6092, allocations: 2.094 MB / 0.6845 GB, free: 324 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.6093, allocations: 116.5 kB / 0.6846 GB, free: 180 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.6107, allocations: 0.866 MB / 0.6854 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.6108, allocations: 25.7 kB / 0.6855 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.6111, allocations: 480.7 kB / 0.6859 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.6114, allocations: 267.9 kB / 0.6862 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.6115, allocations: 0 / 0.6862 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6116, allocations: 349.9 kB / 0.6865 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.6123, allocations: 418.6 kB / 0.6869 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.613, allocations: 0.5067 MB / 0.6874 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.6136, allocations: 462.3 kB / 0.6878 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6136, allocations: 0 / 0.6878 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005938/0.6196, allocations: 2.316 MB / 0.6901 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.6198, allocations: 0.6179 MB / 0.6907 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6198, allocations: 3.984 kB / 0.6907 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/0.6232, allocations: 0.9451 MB / 0.6916 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/0.624, allocations: 159.8 kB / 0.6918 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.6309, allocations: 4.08 MB / 0.6958 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.6322, allocations: 155.2 kB / 0.6959 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.6323, allocations: 27.98 kB / 0.696 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.6323, allocations: 4 kB / 0.696 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005697/0.638, allocations: 2.164 MB / 0.6981 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.638, allocations: 4 kB / 0.6981 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003247/0.6412, allocations: 0.9513 MB / 0.699 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.642, allocations: 147.8 kB / 0.6991 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.6488, allocations: 4.075 MB / 0.7031 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.6501, allocations: 143.3 kB / 0.7033 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.6502, allocations: 35.94 kB / 0.7033 GB, free: 12.64 MB / 0.5105 GB 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.0002248/0.6504, allocations: 116.6 kB / 0.7034 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005305/0.6557, allocations: 2.101 MB / 0.7055 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.6559, allocations: 111.4 kB / 0.7056 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/0.6614, allocations: 2.165 MB / 0.7077 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6614, allocations: 8 kB / 0.7077 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.6614, allocations: 8 kB / 0.7077 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6614, allocations: 7.984 kB / 0.7077 GB, free: 8.086 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.007078/0.6685, allocations: 3.685 MB / 0.7113 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6685, allocations: 2.625 kB / 0.7113 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.6692, allocations: 107.9 kB / 0.7114 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.6718, allocations: 0.8412 MB / 0.7122 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.6718, allocations: 11.98 kB / 0.7122 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.677, allocations: 3.278 MB / 0.7154 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.677, allocations: 0 / 0.7154 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/0.6832, allocations: 2.831 MB / 0.7182 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.6835, allocations: 223.5 kB / 0.7184 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.6837, allocations: 15.94 kB / 0.7184 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6848, allocations: 115.9 kB / 0.7185 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.6851, allocations: 140.5 kB / 0.7187 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/0.6852, allocations: 22.75 kB / 0.7187 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008555/0.686, allocations: 0.6587 MB / 0.7193 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.686, allocations: 0 / 0.7193 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001344/0.6874, allocations: 0.503 MB / 0.7198 GB, free: 11.39 MB / 0.5261 GB 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.00651/0.6939, allocations: 3.486 MB / 0.7232 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00621/0.7001, allocations: 2.987 MB / 0.7262 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7002, allocations: 0 / 0.7262 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.7026, allocations: 1.183 MB / 0.7273 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.7033, allocations: 91.94 kB / 0.7274 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.7073, allocations: 2.071 MB / 0.7294 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.708, allocations: 1.107 MB / 0.7305 GB, free: 212 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008232/0.7088, allocations: 208.1 kB / 0.7307 GB, free: 4 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.7093, allocations: 403.4 kB / 0.7311 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.7094, allocations: 0 / 0.7311 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/0.7638, allocations: 28.9 MB / 0.7593 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.764, allocations: 126.1 kB / 0.7594 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/3.621, allocations: 0 / 0.7594 GB, free: 2.816 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)