Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",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.007212/0.007212, allocations: 168.4 kB / 15.11 MB, free: 5.969 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.501/1.501, allocations: 223.2 MB / 239 MB, free: 1.793 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.000883/0.0008829, allocations: 102.9 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 79.45 MB / 420.8 MB, free: 43.75 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 12 kB / 0.4891 GB, free: 1.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4547, allocations: 69.5 MB / 0.557 GB, free: 39.31 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5898, allocations: 99.54 MB / 0.6542 GB, free: 6.031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.59, allocations: 75.97 kB / 0.6543 GB, free: 5.957 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06011/0.6502, allocations: 22.34 MB / 0.6761 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.6502, allocations: 0 / 0.6761 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.43e-05/0.6503, allocations: 16 kB / 0.6761 GB, free: 15.48 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003648/0.6539, allocations: 1.48 MB / 0.6776 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.654, allocations: 12.02 kB / 0.6776 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.6541, allocations: 94.52 kB / 0.6777 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.6564, allocations: 394.4 kB / 0.678 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6574, allocations: 0.6172 MB / 0.6786 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.6576, allocations: 146.8 kB / 0.6788 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.6577, allocations: 59.95 kB / 0.6788 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.6593, allocations: 0.8266 MB / 0.6796 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.6593, allocations: 3.984 kB / 0.6796 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.6594, allocations: 20 kB / 0.6797 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.6594, allocations: 12 kB / 0.6797 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.6608, allocations: 0.7235 MB / 0.6804 GB, free: 10.97 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005035/0.6659, allocations: 2.887 MB / 0.6832 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.6796, allocations: 3.914 MB / 0.687 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.6798, allocations: 12.55 kB / 0.687 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.6799, allocations: 43.12 kB / 0.6871 GB, free: 3.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 4.017e-06/0.6799, allocations: 0 / 0.6871 GB, free: 3.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01499/0.6949, allocations: 4.373 MB / 0.6913 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.695, allocations: 89.61 kB / 0.6914 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.6962, allocations: 0.6799 MB / 0.6921 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.6963, allocations: 33.7 kB / 0.6921 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.6967, allocations: 384.7 kB / 0.6925 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.697, allocations: 240.5 kB / 0.6927 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.697, allocations: 12 kB / 0.6927 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.6972, allocations: 334 kB / 0.6931 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.6982, allocations: 477.8 kB / 0.6935 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.6993, allocations: 0.5529 MB / 0.694 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.7003, allocations: 0.5037 MB / 0.6945 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.7003, allocations: 3.953 kB / 0.6945 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007639/0.708, allocations: 2.536 MB / 0.697 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003893/0.7084, allocations: 0.7056 MB / 0.6977 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7084, allocations: 0 / 0.6977 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/0.7128, allocations: 1.192 MB / 0.6989 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.7136, allocations: 107.9 kB / 0.699 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.7243, allocations: 5.287 MB / 0.7041 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.7257, allocations: 131.3 kB / 0.7043 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.7258, allocations: 20 kB / 0.7043 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.7258, allocations: 4 kB / 0.7043 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00698/0.7328, allocations: 2.418 MB / 0.7066 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7328, allocations: 3.938 kB / 0.7067 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/0.737, allocations: 1.179 MB / 0.7078 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.7377, allocations: 103.8 kB / 0.7079 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.7483, allocations: 5.285 MB / 0.7131 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.7497, allocations: 115.4 kB / 0.7132 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.7498, allocations: 20 kB / 0.7132 GB, free: 8.656 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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.0005509/0.7503, allocations: 288.9 kB / 0.7135 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.7505, allocations: 82.97 kB / 0.7135 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006431/0.7569, allocations: 2.4 MB / 0.7159 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.757, allocations: 8 kB / 0.7159 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.757, allocations: 4 kB / 0.7159 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.757, allocations: 0 / 0.7159 GB, free: 5.84 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008364/0.7654, allocations: 3.69 MB / 0.7195 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.7654, allocations: 0 / 0.7195 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.7659, allocations: 79.89 kB / 0.7196 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003288/0.7692, allocations: 1.078 MB / 0.7206 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.7693, allocations: 15.98 kB / 0.7207 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008258/0.7776, allocations: 4.284 MB / 0.7248 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7776, allocations: 7.938 kB / 0.7248 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/0.7857, allocations: 3.075 MB / 0.7278 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.7863, allocations: 179.9 kB / 0.728 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.7865, allocations: 19.98 kB / 0.728 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.7873, allocations: 87.98 kB / 0.7281 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/0.7878, allocations: 124.3 kB / 0.7282 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.7878, allocations: 16 kB / 0.7283 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008869/0.7887, allocations: 0.5342 MB / 0.7288 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7887, allocations: 0 / 0.7288 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001724/0.7905, allocations: 491.3 kB / 0.7292 GB, free: 7.875 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.008194/0.7987, allocations: 3.813 MB / 0.733 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007474/0.8062, allocations: 3.138 MB / 0.736 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8062, allocations: 0 / 0.736 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.8092, allocations: 1.26 MB / 0.7373 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.81, allocations: 65.64 kB / 0.7373 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.8148, allocations: 3.659 MB / 0.7409 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.8154, allocations: 0.9944 MB / 0.7419 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003814/0.8158, allocations: 72.73 kB / 0.7419 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.8162, allocations: 299.3 kB / 0.7422 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.8162, allocations: 0 / 0.7422 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/0.8594, allocations: 24.25 MB / 0.7659 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.8596, allocations: 183.7 kB / 0.7661 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/3.856, allocations: 0 / 0.7661 GB, free: 1.949 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)