Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 105 kB / 15.98 MB, free: 6.348 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.299/1.299, allocations: 222.9 MB / 239.6 MB, free: 4.777 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.001424/0.001424, allocations: 192.5 kB / 289.9 MB, free: 2.527 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4778/0.4778, allocations: 78.53 MB / 418.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 75.86 kB / 497.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 68.18 MB / 0.5525 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2328/0.37, allocations: 6.411 MB / 0.5588 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.3741, allocations: 1.897 MB / 0.5606 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.3755, allocations: 17.44 kB / 0.5606 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.3764, allocations: 157.9 kB / 0.5608 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.3789, allocations: 0.6109 MB / 0.5614 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3805, allocations: 0.5812 MB / 0.562 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.3827, allocations: 1.341 MB / 0.5633 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009148/0.3836, allocations: 298.9 kB / 0.5635 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.3851, allocations: 0.5568 MB / 0.5641 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.3862, allocations: 0.6851 MB / 0.5648 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3863, allocations: 99.72 kB / 0.5649 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.3869, allocations: 235.8 kB / 0.5651 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.3871, allocations: 266.4 kB / 0.5653 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005374/0.3876, allocations: 0.5829 MB / 0.5659 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.389, allocations: 1.116 MB / 0.567 GB, free: 35.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.389, allocations: 4.938 kB / 0.567 GB, free: 35.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.389, allocations: 0 / 0.567 GB, free: 35.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.389, allocations: 0 / 0.567 GB, free: 35.19 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007434/0.3965, allocations: 2.438 MB / 0.5694 GB, free: 34.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3965, allocations: 15.09 kB / 0.5694 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.4018, allocations: 0.7628 MB / 0.5701 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.4032, allocations: 0.7429 MB / 0.5709 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.4034, allocations: 251.1 kB / 0.5711 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.4036, allocations: 83.81 kB / 0.5712 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.4057, allocations: 1.09 MB / 0.5723 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.4057, allocations: 1.312 kB / 0.5723 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.4058, allocations: 31.3 kB / 0.5723 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.4058, allocations: 17.72 kB / 0.5723 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.4078, allocations: 1.024 MB / 0.5733 GB, free: 33.62 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.005469/0.4133, allocations: 3.515 MB / 0.5767 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.4154, allocations: 1.444 MB / 0.5781 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.4167, allocations: 0.745 MB / 0.5789 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.4168, allocations: 13.23 kB / 0.5789 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4169, allocations: 49.12 kB / 0.5789 GB, free: 31.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.4169, allocations: 0 / 0.5789 GB, free: 31.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02349/0.4404, allocations: 6.429 MB / 0.5852 GB, free: 29.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4405, allocations: 86.61 kB / 0.5853 GB, free: 29.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4416, allocations: 0.8319 MB / 0.5861 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.4419, allocations: 46.11 kB / 0.5861 GB, free: 29.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.4421, allocations: 453.5 kB / 0.5866 GB, free: 28.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.4425, allocations: 322.8 kB / 0.5869 GB, free: 28.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/0.4429, allocations: 196.3 kB / 0.5871 GB, free: 28.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.443, allocations: 349 kB / 0.5874 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.4445, allocations: 0.7033 MB / 0.5881 GB, free: 28.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.4461, allocations: 0.8334 MB / 0.5889 GB, free: 27.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.449, allocations: 1.502 MB / 0.5904 GB, free: 26.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4491, allocations: 5.719 kB / 0.5904 GB, free: 26.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01388/0.4629, allocations: 4.219 MB / 0.5945 GB, free: 25.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.463, allocations: 7.047 kB / 0.5945 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.463, allocations: 2.469 kB / 0.5945 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006585/0.4696, allocations: 1.792 MB / 0.5963 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4707, allocations: 190.5 kB / 0.5964 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/0.4924, allocations: 9.329 MB / 0.6055 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.4941, allocations: 166.5 kB / 0.6057 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.4943, allocations: 37.48 kB / 0.6057 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001808/0.4961, allocations: 0.8547 MB / 0.6066 GB, free: 20.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001567/0.4977, allocations: 0.8165 MB / 0.6074 GB, free: 20.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002863/0.5006, allocations: 1.489 MB / 0.6088 GB, free: 19.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/0.5006, allocations: 0 / 0.6088 GB, free: 19.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01294/0.5135, allocations: 4.195 MB / 0.6129 GB, free: 17.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5136, allocations: 5.25 kB / 0.6129 GB, free: 17.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5136, allocations: 5.875 kB / 0.6129 GB, free: 17.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005702/0.5193, allocations: 1.799 MB / 0.6147 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.5203, allocations: 187.7 kB / 0.6149 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.5396, allocations: 9.331 MB / 0.624 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.5412, allocations: 159.9 kB / 0.6241 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.5415, allocations: 39.98 kB / 0.6242 GB, free: 5.73 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004008/0.5419, allocations: 228.1 kB / 0.6244 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.5422, allocations: 106.7 kB / 0.6245 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.5538, allocations: 3.908 MB / 0.6283 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.5538, allocations: 8.938 kB / 0.6283 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5538, allocations: 0 / 0.6283 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.5539, allocations: 15.91 kB / 0.6283 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.5692, allocations: 5.619 MB / 0.6338 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.5693, allocations: 0.9375 kB / 0.6338 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.57, allocations: 103.9 kB / 0.6339 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006031/0.5761, allocations: 1.755 MB / 0.6356 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/0.5764, allocations: 20 kB / 0.6357 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/0.5956, allocations: 8.085 MB / 0.6436 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5957, allocations: 0.5625 kB / 0.6436 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.611, allocations: 4.827 MB / 0.6483 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.6116, allocations: 191.6 kB / 0.6484 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/0.6121, allocations: 16 kB / 0.6485 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6135, allocations: 103.9 kB / 0.6486 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007934/0.6143, allocations: 204.7 kB / 0.6488 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.6144, allocations: 26.05 kB / 0.6488 GB, free: 12.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009836/0.6154, allocations: 0.5589 MB / 0.6493 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6154, allocations: 0 / 0.6493 GB, free: 11.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002758/0.6182, allocations: 0.6788 MB / 0.65 GB, free: 10.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/0.6186, allocations: 131.7 kB / 0.6501 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01296/0.6316, allocations: 4.216 MB / 0.6542 GB, free: 6.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.6316, allocations: 0 / 0.6542 GB, free: 6.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004866/0.6365, allocations: 1.545 MB / 0.6557 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.6379, allocations: 94.17 kB / 0.6558 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.6432, allocations: 2.417 MB / 0.6582 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/0.6442, allocations: 1.085 MB / 0.6593 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.6446, allocations: 67.42 kB / 0.6593 GB, free: 1.301 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6446, allocations: 0 / 0.6593 GB, free: 1.301 MB / 462.1 MB Notification: Performance of Templates: time 0.03096/0.6756, allocations: 20.1 MB / 0.6789 GB, free: 13.34 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)