Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.371/1.371, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.001456/0.001456, allocations: 192.5 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4638/0.4638, allocations: 78.53 MB / 419.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 80.09 kB / 0.5543 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2925, allocations: 68.17 MB / 0.6209 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004754/0.2972, allocations: 6.12 MB / 0.6268 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.3003, allocations: 1.856 MB / 0.6286 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.301, allocations: 11.94 kB / 0.6287 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.3015, allocations: 206.2 kB / 0.6289 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.3031, allocations: 0.7109 MB / 0.6295 GB, free: 1.27 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3044, allocations: 0.6281 MB / 0.6302 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.306, allocations: 1.358 MB / 0.6315 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.3065, allocations: 307.2 kB / 0.6318 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/0.3072, allocations: 0.5602 MB / 0.6323 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007667/0.308, allocations: 0.6844 MB / 0.633 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.3082, allocations: 96 kB / 0.6331 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.3087, allocations: 231.9 kB / 0.6333 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.3089, allocations: 262.8 kB / 0.6336 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005114/0.3094, allocations: 0.5903 MB / 0.6341 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.311, allocations: 1.45 MB / 0.6356 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.311, allocations: 8 kB / 0.6356 GB, free: 11.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.311, allocations: 0 / 0.6356 GB, free: 11.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.479e-05/0.3111, allocations: 0 / 0.6356 GB, free: 11.09 MB / 446.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.00797/0.319, allocations: 2.434 MB / 0.6379 GB, free: 8.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3191, allocations: 11.97 kB / 0.6379 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005191/0.3243, allocations: 0.7712 MB / 0.6387 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.3258, allocations: 0.736 MB / 0.6394 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/0.3261, allocations: 256.2 kB / 0.6397 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3263, allocations: 76 kB / 0.6397 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.3285, allocations: 1.09 MB / 0.6408 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3286, allocations: 3.938 kB / 0.6408 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.3287, allocations: 32 kB / 0.6408 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3287, allocations: 16 kB / 0.6409 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.3309, allocations: 1.034 MB / 0.6419 GB, free: 4.488 MB / 446.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.006134/0.3371, allocations: 3.457 MB / 0.6452 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.3396, allocations: 1.43 MB / 0.6466 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.3411, allocations: 0.7456 MB / 0.6474 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/0.3412, allocations: 16.89 kB / 0.6474 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3413, allocations: 43.56 kB / 0.6474 GB, free: 14.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.635e-06/0.3413, allocations: 0 / 0.6474 GB, free: 14.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02962/0.3709, allocations: 6.89 MB / 0.6542 GB, free: 7.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.371, allocations: 90.11 kB / 0.6542 GB, free: 7.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3722, allocations: 0.8202 MB / 0.655 GB, free: 6.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.3724, allocations: 45.7 kB / 0.6551 GB, free: 6.582 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.3728, allocations: 444.7 kB / 0.6555 GB, free: 6.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.3733, allocations: 323.3 kB / 0.6558 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000494/0.3738, allocations: 206.8 kB / 0.656 GB, free: 5.609 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3739, allocations: 349.9 kB / 0.6563 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.3755, allocations: 0.7126 MB / 0.657 GB, free: 4.547 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3773, allocations: 0.847 MB / 0.6579 GB, free: 3.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/0.3805, allocations: 1.514 MB / 0.6593 GB, free: 2.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3805, allocations: 0 / 0.6593 GB, free: 2.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01407/0.3946, allocations: 4.23 MB / 0.6635 GB, free: 13.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3947, allocations: 10.03 kB / 0.6635 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3947, allocations: 8 kB / 0.6635 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006591/0.4013, allocations: 1.78 MB / 0.6652 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.4023, allocations: 195.7 kB / 0.6654 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/0.425, allocations: 9.304 MB / 0.6745 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4266, allocations: 170.8 kB / 0.6747 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.4268, allocations: 47.92 kB / 0.6747 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001929/0.4287, allocations: 0.8539 MB / 0.6755 GB, free: 1.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001707/0.4304, allocations: 0.8353 MB / 0.6764 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00324/0.4337, allocations: 1.49 MB / 0.6778 GB, free: 14.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.089e-06/0.4337, allocations: 4 kB / 0.6778 GB, free: 14.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.0138/0.4475, allocations: 4.211 MB / 0.6819 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4476, allocations: 4 kB / 0.6819 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4476, allocations: 4 kB / 0.6819 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006406/0.454, allocations: 1.78 MB / 0.6837 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/0.455, allocations: 195.7 kB / 0.6839 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.4776, allocations: 9.298 MB / 0.6929 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4792, allocations: 147.1 kB / 0.6931 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.4794, allocations: 47.92 kB / 0.6931 GB, free: 15.12 MB / 0.4981 GB 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 (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.0003926/0.4798, allocations: 228.8 kB / 0.6933 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.4801, allocations: 114.6 kB / 0.6935 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.4939, allocations: 3.911 MB / 0.6973 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.494, allocations: 8 kB / 0.6973 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.494, allocations: 0 / 0.6973 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.494, allocations: 3.984 kB / 0.6973 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.5105, allocations: 5.567 MB / 0.7027 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.5106, allocations: 0 / 0.7027 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.5113, allocations: 115.8 kB / 0.7028 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006148/0.5174, allocations: 1.741 MB / 0.7045 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.5177, allocations: 16 kB / 0.7046 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/0.5373, allocations: 8.052 MB / 0.7124 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5374, allocations: 7.938 kB / 0.7124 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/0.553, allocations: 4.85 MB / 0.7172 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.5534, allocations: 203.5 kB / 0.7174 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/0.5537, allocations: 16 kB / 0.7174 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5549, allocations: 95.89 kB / 0.7175 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006667/0.5556, allocations: 208.7 kB / 0.7177 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.5557, allocations: 20 kB / 0.7177 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007623/0.5565, allocations: 0.5549 MB / 0.7182 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5565, allocations: 0 / 0.7182 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002098/0.5586, allocations: 0.6866 MB / 0.7189 GB, free: 4.371 MB / 0.5137 GB 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 (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.0002951/0.5589, allocations: 133.2 kB / 0.719 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01218/0.5711, allocations: 4.196 MB / 0.7231 GB, free: 8 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.5711, allocations: 4 kB / 0.7231 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005091/0.5762, allocations: 1.551 MB / 0.7246 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5773, allocations: 89.81 kB / 0.7247 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.5818, allocations: 2.073 MB / 0.7267 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.5826, allocations: 1.077 MB / 0.7278 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.583, allocations: 67.42 kB / 0.7279 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.583, allocations: 4 kB / 0.7279 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of Templates: time 0.02957/0.6126, allocations: 20.25 MB / 0.7476 GB, free: 6.801 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)