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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 238.9 MB, free: 5.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 197 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4578/0.4578, allocations: 79.45 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 19.98 kB / 0.4891 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 69.5 MB / 0.557 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.005054/0.3591, allocations: 4.564 MB / 0.5614 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3626, allocations: 1.708 MB / 0.5631 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.363, allocations: 8.281 kB / 0.5631 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.3634, allocations: 121.4 kB / 0.5632 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.3647, allocations: 0.5729 MB / 0.5638 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.3656, allocations: 392.3 kB / 0.5641 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3667, allocations: 0.7343 MB / 0.5649 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.367, allocations: 193.1 kB / 0.565 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.3674, allocations: 402.5 kB / 0.5654 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.368, allocations: 0.5103 MB / 0.5659 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.3681, allocations: 52.53 kB / 0.566 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.3684, allocations: 155.8 kB / 0.5661 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3686, allocations: 181 kB / 0.5663 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3687, allocations: 177.5 kB / 0.5665 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.3695, allocations: 1.028 MB / 0.5675 GB, free: 36.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3695, allocations: 0 / 0.5675 GB, free: 36.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3695, allocations: 3.469 kB / 0.5675 GB, free: 36.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3696, allocations: 0 / 0.5675 GB, free: 36.78 MB / 430.1 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.004993/0.3746, allocations: 1.723 MB / 0.5691 GB, free: 36.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3746, allocations: 8.375 kB / 0.5692 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.3748, allocations: 98.42 kB / 0.5692 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.378, allocations: 0.5391 MB / 0.5698 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.3789, allocations: 0.6587 MB / 0.5704 GB, free: 35.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3791, allocations: 150.6 kB / 0.5706 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3792, allocations: 58.25 kB / 0.5706 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3806, allocations: 0.8202 MB / 0.5714 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3807, allocations: 3 kB / 0.5714 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.3807, allocations: 19.5 kB / 0.5714 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3808, allocations: 14.55 kB / 0.5715 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.382, allocations: 0.7337 MB / 0.5722 GB, free: 35.3 MB / 430.1 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.004253/0.3863, allocations: 3.046 MB / 0.5751 GB, free: 33.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.3987, allocations: 3.94 MB / 0.579 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3989, allocations: 13.72 kB / 0.579 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.399, allocations: 38.25 kB / 0.579 GB, free: 32.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 3.166e-06/0.399, allocations: 0 / 0.579 GB, free: 32.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.0124/0.4114, allocations: 4.223 MB / 0.5832 GB, free: 31.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4114, allocations: 87.25 kB / 0.5832 GB, free: 31.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4125, allocations: 0.7882 MB / 0.584 GB, free: 31.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.4126, allocations: 35.95 kB / 0.5841 GB, free: 31.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.4128, allocations: 368.5 kB / 0.5844 GB, free: 30.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.4131, allocations: 247 kB / 0.5846 GB, free: 30.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.4131, allocations: 15.31 kB / 0.5847 GB, free: 30.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.4132, allocations: 358.1 kB / 0.585 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.4143, allocations: 0.5795 MB / 0.5856 GB, free: 30.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.4154, allocations: 0.6961 MB / 0.5862 GB, free: 29.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4165, allocations: 0.6299 MB / 0.5869 GB, free: 29.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4165, allocations: 5.156 kB / 0.5869 GB, free: 29.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007514/0.4241, allocations: 2.854 MB / 0.5896 GB, free: 28.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.4242, allocations: 0.7073 MB / 0.5903 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4242, allocations: 1.844 kB / 0.5903 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/0.4285, allocations: 1.198 MB / 0.5915 GB, free: 27.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/0.4295, allocations: 177.1 kB / 0.5917 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.4397, allocations: 5.305 MB / 0.5969 GB, free: 24.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.4411, allocations: 142.5 kB / 0.597 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/0.4412, allocations: 35 kB / 0.597 GB, free: 24.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.4412, allocations: 3.969 kB / 0.597 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007555/0.4488, allocations: 2.735 MB / 0.5997 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4488, allocations: 3.156 kB / 0.5997 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/0.4532, allocations: 1.196 MB / 0.6009 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.4542, allocations: 176.7 kB / 0.601 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.4651, allocations: 5.304 MB / 0.6062 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.4665, allocations: 124.9 kB / 0.6063 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.4667, allocations: 37.34 kB / 0.6064 GB, free: 21.09 MB / 430.1 MB 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 (104): * Single equations (assignments): 101 * 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.0005249/0.4672, allocations: 285.7 kB / 0.6067 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.4674, allocations: 88.47 kB / 0.6067 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006701/0.4741, allocations: 2.396 MB / 0.6091 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4742, allocations: 7.156 kB / 0.6091 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.4742, allocations: 9.406 kB / 0.6091 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4742, allocations: 3.281 kB / 0.6091 GB, free: 20.12 MB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.008689/0.4829, allocations: 3.677 MB / 0.6127 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.483, allocations: 0 / 0.6127 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.4835, allocations: 87.34 kB / 0.6128 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003362/0.4869, allocations: 1.082 MB / 0.6138 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.487, allocations: 16.56 kB / 0.6138 GB, free: 17.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008269/0.4953, allocations: 4.31 MB / 0.6181 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4954, allocations: 0.7812 kB / 0.6181 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007185/0.5025, allocations: 3.093 MB / 0.6211 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.5029, allocations: 179.8 kB / 0.6212 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.5032, allocations: 19.95 kB / 0.6213 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/0.5041, allocations: 83.92 kB / 0.6213 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.5044, allocations: 120.3 kB / 0.6215 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.5045, allocations: 20.98 kB / 0.6215 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006246/0.5051, allocations: 0.5264 MB / 0.622 GB, free: 9.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5051, allocations: 4 kB / 0.622 GB, free: 9.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001705/0.5068, allocations: 0.5267 MB / 0.6225 GB, free: 9.02 MB / 430.1 MB 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.00707/0.5139, allocations: 3.786 MB / 0.6262 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007698/0.5217, allocations: 3.534 MB / 0.6297 GB, free: 1.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5217, allocations: 0 / 0.6297 GB, free: 1.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002691/0.5244, allocations: 1.263 MB / 0.6309 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.5251, allocations: 57.05 kB / 0.6309 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.53, allocations: 3.626 MB / 0.6345 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.5306, allocations: 0.9952 MB / 0.6355 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000482/0.5311, allocations: 86.22 kB / 0.6355 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.5316, allocations: 319.3 kB / 0.6358 GB, free: 11.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5316, allocations: 3.938 kB / 0.6358 GB, free: 11.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04417/0.5758, allocations: 24.85 MB / 0.6601 GB, free: 2.605 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.576, allocations: 185.7 kB / 0.6603 GB, free: 2.367 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.945, allocations: 0 / 0.6603 GB, free: 2.367 MB / 462.1 MB (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) Environment - environmentSimulation: