Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_release_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.009175/0.009175, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.479/1.479, allocations: 223.2 MB / 239 MB, free: 1.777 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.0009275/0.0009274, allocations: 109.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4992/0.4992, allocations: 78.58 MB / 419.9 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 12 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4108, allocations: 69.34 MB / 0.5559 GB, free: 38.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.5416, allocations: 98.86 MB / 0.6524 GB, free: 7.625 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.542, allocations: 75.97 kB / 0.6525 GB, free: 7.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06162/0.6036, allocations: 22.15 MB / 0.6741 GB, free: 1.273 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6036, allocations: 0 / 0.6741 GB, free: 1.273 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.842e-05/0.6037, allocations: 16 kB / 0.6741 GB, free: 1.258 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004345/0.6081, allocations: 1.472 MB / 0.6756 GB, free: 15.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6081, allocations: 15.97 kB / 0.6756 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.6084, allocations: 90.52 kB / 0.6757 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.6109, allocations: 390.5 kB / 0.676 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6122, allocations: 0.6211 MB / 0.6766 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.6124, allocations: 150.7 kB / 0.6768 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.6126, allocations: 59.95 kB / 0.6768 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.6143, allocations: 0.8149 MB / 0.6776 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6144, allocations: 0 / 0.6776 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.6145, allocations: 20 kB / 0.6777 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.6145, allocations: 23.94 kB / 0.6777 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.616, allocations: 0.7274 MB / 0.6784 GB, free: 12.75 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.005843/0.6218, allocations: 2.876 MB / 0.6812 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/0.6359, allocations: 3.926 MB / 0.685 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.6361, allocations: 16.53 kB / 0.685 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.6361, allocations: 35.12 kB / 0.6851 GB, free: 5.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.766e-06/0.6361, allocations: 0 / 0.6851 GB, free: 5.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01521/0.6513, allocations: 4.377 MB / 0.6893 GB, free: 1.266 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.6514, allocations: 85.66 kB / 0.6894 GB, free: 1.164 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.6528, allocations: 0.676 MB / 0.6901 GB, free: 488 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.6529, allocations: 37.7 kB / 0.6901 GB, free: 444 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.6533, allocations: 384.7 kB / 0.6905 GB, free: 56 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.6536, allocations: 236.6 kB / 0.6907 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.6537, allocations: 12 kB / 0.6907 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6539, allocations: 334 kB / 0.691 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6549, allocations: 477.8 kB / 0.6915 GB, free: 15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.656, allocations: 0.5605 MB / 0.6921 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.6571, allocations: 0.4998 MB / 0.6925 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6571, allocations: 4 kB / 0.6925 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007499/0.6646, allocations: 2.544 MB / 0.695 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.665, allocations: 0.7062 MB / 0.6957 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.665, allocations: 4 kB / 0.6957 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004399/0.6694, allocations: 1.184 MB / 0.6969 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.6701, allocations: 107.8 kB / 0.697 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.6813, allocations: 5.294 MB / 0.7022 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6827, allocations: 123.3 kB / 0.7023 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6828, allocations: 23.98 kB / 0.7023 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6829, allocations: 4 kB / 0.7023 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007726/0.6906, allocations: 2.406 MB / 0.7046 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.6906, allocations: 7.953 kB / 0.7047 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004344/0.695, allocations: 1.183 MB / 0.7058 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.6956, allocations: 103.9 kB / 0.7059 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.7069, allocations: 5.279 MB / 0.7111 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.7082, allocations: 115.4 kB / 0.7112 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.7083, allocations: 20 kB / 0.7112 GB, free: 10.44 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.0007303/0.709, allocations: 289.5 kB / 0.7115 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.7094, allocations: 82.97 kB / 0.7115 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006817/0.7162, allocations: 2.392 MB / 0.7139 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.7162, allocations: 11.95 kB / 0.7139 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.7162, allocations: 4 kB / 0.7139 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7163, allocations: 7.969 kB / 0.7139 GB, free: 7.621 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.008853/0.7251, allocations: 3.678 MB / 0.7175 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.7251, allocations: 0 / 0.7175 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.7257, allocations: 83.89 kB / 0.7176 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/0.7293, allocations: 1.075 MB / 0.7186 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.925e-05/0.7294, allocations: 19.98 kB / 0.7186 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008648/0.738, allocations: 4.28 MB / 0.7228 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7381, allocations: 4 kB / 0.7228 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/0.7461, allocations: 3.087 MB / 0.7258 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.7466, allocations: 183.9 kB / 0.726 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.7469, allocations: 12 kB / 0.726 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/0.7479, allocations: 83.94 kB / 0.7261 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/0.7483, allocations: 124.3 kB / 0.7262 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.7484, allocations: 16 kB / 0.7262 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008811/0.7493, allocations: 0.5342 MB / 0.7268 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7493, allocations: 384 / 0.7268 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001821/0.7511, allocations: 499.3 kB / 0.7272 GB, free: 9.66 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.008573/0.7597, allocations: 3.817 MB / 0.731 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008076/0.7678, allocations: 3.127 MB / 0.734 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7679, allocations: 448 / 0.734 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/0.7711, allocations: 1.259 MB / 0.7353 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.7719, allocations: 63.3 kB / 0.7353 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/0.7777, allocations: 3.655 MB / 0.7389 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.7784, allocations: 0.9945 MB / 0.7399 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.7789, allocations: 68.73 kB / 0.7399 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.7794, allocations: 303.3 kB / 0.7402 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.463e-06/0.7794, allocations: 0 / 0.7402 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04594/0.8254, allocations: 24.25 MB / 0.7639 GB, free: 4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.8256, allocations: 188.4 kB / 0.7641 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.501, allocations: 0 / 0.7641 GB, free: 3.758 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)