Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.0008913/0.0008912, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.34/1.34, allocations: 223.3 MB / 239 MB, free: 5.441 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.00142/0.00142, allocations: 176.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4784/0.4784, allocations: 79.47 MB / 420.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 8 kB / 0.4892 GB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.412, allocations: 69.51 MB / 0.5571 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005223/0.4173, allocations: 5.655 MB / 0.5626 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.4202, allocations: 1.825 MB / 0.5644 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.4206, allocations: 11.69 kB / 0.5644 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.4209, allocations: 152.2 kB / 0.5646 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.4221, allocations: 0.5762 MB / 0.5651 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4232, allocations: 0.5297 MB / 0.5656 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009686/0.4242, allocations: 1.226 MB / 0.5668 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.4245, allocations: 250.6 kB / 0.5671 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.425, allocations: 484.3 kB / 0.5675 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.4256, allocations: 0.6014 MB / 0.5681 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.586e-05/0.4257, allocations: 54.62 kB / 0.5682 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.426, allocations: 181.2 kB / 0.5684 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.4263, allocations: 204.9 kB / 0.5685 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.4264, allocations: 214.1 kB / 0.5688 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.4272, allocations: 1.061 MB / 0.5698 GB, free: 35.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4273, allocations: 1.344 kB / 0.5698 GB, free: 35.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4273, allocations: 1.875 kB / 0.5698 GB, free: 35.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.4273, allocations: 1.031 kB / 0.5698 GB, free: 35.5 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005937/0.4332, allocations: 2.291 MB / 0.572 GB, free: 34.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4333, allocations: 9.125 kB / 0.572 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.4334, allocations: 118.3 kB / 0.5721 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.4379, allocations: 0.7795 MB / 0.5729 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4389, allocations: 0.7003 MB / 0.5736 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.4392, allocations: 262.8 kB / 0.5738 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4393, allocations: 80.06 kB / 0.5739 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.4413, allocations: 1.167 MB / 0.5751 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.4413, allocations: 0 / 0.5751 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.4414, allocations: 26.03 kB / 0.5751 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.4414, allocations: 28.89 kB / 0.5751 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.4434, allocations: 1.109 MB / 0.5762 GB, free: 33.18 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.004969/0.4484, allocations: 3.573 MB / 0.5797 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.4503, allocations: 1.528 MB / 0.5812 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.4516, allocations: 0.8192 MB / 0.582 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4517, allocations: 26.38 kB / 0.582 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4517, allocations: 38.38 kB / 0.582 GB, free: 29.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.254e-06/0.4517, allocations: 0 / 0.582 GB, free: 29.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02594/0.4777, allocations: 8.502 MB / 0.5903 GB, free: 28.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.4778, allocations: 91.19 kB / 0.5904 GB, free: 28.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.479, allocations: 0.8188 MB / 0.5912 GB, free: 28.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.4792, allocations: 42.11 kB / 0.5913 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.4795, allocations: 444.5 kB / 0.5917 GB, free: 27.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.4799, allocations: 332.8 kB / 0.592 GB, free: 27.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.4799, allocations: 20.94 kB / 0.592 GB, free: 27.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.48, allocations: 353.9 kB / 0.5924 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4816, allocations: 0.7718 MB / 0.5931 GB, free: 26.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.4833, allocations: 0.9116 MB / 0.594 GB, free: 26.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.485, allocations: 0.8311 MB / 0.5948 GB, free: 26.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.485, allocations: 1.438 kB / 0.5948 GB, free: 26.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01407/0.4991, allocations: 5.109 MB / 0.5998 GB, free: 24.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.4993, allocations: 159.3 kB / 0.6 GB, free: 24.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.4993, allocations: 2.969 kB / 0.6 GB, free: 24.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006621/0.5059, allocations: 2.104 MB / 0.602 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.507, allocations: 207.1 kB / 0.6022 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.5289, allocations: 9.546 MB / 0.6115 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.5305, allocations: 210.3 kB / 0.6117 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.5308, allocations: 40.11 kB / 0.6118 GB, free: 19.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5308, allocations: 4 kB / 0.6118 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/0.5431, allocations: 4.959 MB / 0.6166 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5432, allocations: 11.94 kB / 0.6166 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/0.5485, allocations: 2.103 MB / 0.6187 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/0.5495, allocations: 187.7 kB / 0.6189 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.567, allocations: 9.534 MB / 0.6282 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5685, allocations: 191 kB / 0.6284 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.5688, allocations: 40 kB / 0.6284 GB, free: 3.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006654/0.5694, allocations: 308.9 kB / 0.6287 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.5697, allocations: 106.7 kB / 0.6288 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.5813, allocations: 4.82 MB / 0.6335 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.5814, allocations: 9.438 kB / 0.6335 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5814, allocations: 0 / 0.6335 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.5814, allocations: 4.5 kB / 0.6335 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.5963, allocations: 6.462 MB / 0.6398 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.5963, allocations: 0 / 0.6398 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.5969, allocations: 115.9 kB / 0.6399 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00561/0.6026, allocations: 2.061 MB / 0.642 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.6027, allocations: 16 kB / 0.642 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/0.6204, allocations: 8.188 MB / 0.65 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.6205, allocations: 0.9375 kB / 0.65 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.6356, allocations: 5.85 MB / 0.6557 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/0.6363, allocations: 207.4 kB / 0.6559 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.6368, allocations: 16 kB / 0.6559 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6381, allocations: 135.9 kB / 0.656 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007328/0.6388, allocations: 212.4 kB / 0.6562 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.639, allocations: 20 kB / 0.6562 GB, free: 6.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00092/0.6399, allocations: 0.5432 MB / 0.6568 GB, free: 5.961 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6399, allocations: 0 / 0.6568 GB, free: 5.961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002927/0.6429, allocations: 0.6866 MB / 0.6574 GB, free: 5.273 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01494/0.6578, allocations: 6.431 MB / 0.6637 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01172/0.6696, allocations: 4.635 MB / 0.6683 GB, free: 10.15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.6696, allocations: 4.188 kB / 0.6683 GB, free: 10.15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004652/0.6743, allocations: 1.748 MB / 0.67 GB, free: 8.395 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.6755, allocations: 91.25 kB / 0.67 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/0.7018, allocations: 11.17 MB / 0.681 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/0.7028, allocations: 1.074 MB / 0.682 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006461/0.7034, allocations: 106.8 kB / 0.6821 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/0.7041, allocations: 399.3 kB / 0.6825 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7041, allocations: 0 / 0.6825 GB, free: 11.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06741/0.7715, allocations: 36.19 MB / 0.7178 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.7717, allocations: 215.3 kB / 0.718 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.41, allocations: 3.938 kB / 0.718 GB, free: 7.184 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1) Environment - environmentSimulation: