Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08442/0.08442, allocations: 12.6 MB / 28.91 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 107.5 kB / 32.51 MB, free: 3.562 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 199.4 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.44/0.44, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004063/0.004063, allocations: 138.3 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1153, allocations: 68.13 MB / 0.6231 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.007134/0.1224, allocations: 6.175 MB / 0.6291 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.1262, allocations: 1.834 MB / 0.6309 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007867/0.127, allocations: 12 kB / 0.6309 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.1277, allocations: 206.2 kB / 0.6311 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.1299, allocations: 0.7455 MB / 0.6318 GB, free: 6.434 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001489/0.1314, allocations: 0.6424 MB / 0.6324 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.1331, allocations: 1.366 MB / 0.6338 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.1337, allocations: 283.3 kB / 0.634 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008262/0.1345, allocations: 0.5679 MB / 0.6346 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008827/0.1354, allocations: 0.6844 MB / 0.6353 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.1357, allocations: 100 kB / 0.6354 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.1362, allocations: 243.8 kB / 0.6356 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.1365, allocations: 258.9 kB / 0.6358 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006247/0.1371, allocations: 0.5825 MB / 0.6364 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1387, allocations: 1.46 MB / 0.6378 GB, free: 248 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1388, allocations: 0 / 0.6378 GB, free: 248 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1388, allocations: 0 / 0.6378 GB, free: 248 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.035e-05/0.1388, allocations: 0 / 0.6378 GB, free: 248 kB / 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.008103/0.1469, allocations: 2.438 MB / 0.6402 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.147, allocations: 11.98 kB / 0.6402 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.1521, allocations: 0.7673 MB / 0.641 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1535, allocations: 0.7477 MB / 0.6417 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.1538, allocations: 252.2 kB / 0.642 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.154, allocations: 75.94 kB / 0.642 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.1563, allocations: 1.098 MB / 0.6431 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1564, allocations: 0 / 0.6431 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/0.1565, allocations: 31.94 kB / 0.6431 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1565, allocations: 20 kB / 0.6431 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.1588, allocations: 1.027 MB / 0.6441 GB, free: 9.633 MB / 462.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.006298/0.1651, allocations: 3.453 MB / 0.6475 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.1677, allocations: 1.431 MB / 0.6489 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.1693, allocations: 0.7499 MB / 0.6497 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.1694, allocations: 13 kB / 0.6497 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1695, allocations: 51.48 kB / 0.6497 GB, free: 3.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.737e-06/0.1695, allocations: 4 kB / 0.6497 GB, free: 3.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02815/0.1976, allocations: 6.886 MB / 0.6564 GB, free: 12.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.1977, allocations: 94.05 kB / 0.6565 GB, free: 12.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.199, allocations: 0.8241 MB / 0.6573 GB, free: 11.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.1992, allocations: 41.7 kB / 0.6574 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.1995, allocations: 448.6 kB / 0.6578 GB, free: 11.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.2, allocations: 323.3 kB / 0.6581 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/0.2004, allocations: 210.8 kB / 0.6583 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2006, allocations: 345.9 kB / 0.6586 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.2023, allocations: 0.7204 MB / 0.6593 GB, free: 9.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.204, allocations: 0.8393 MB / 0.6602 GB, free: 8.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.2074, allocations: 1.514 MB / 0.6616 GB, free: 7.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.2074, allocations: 0 / 0.6616 GB, free: 7.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01434/0.2217, allocations: 4.241 MB / 0.6658 GB, free: 2.992 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2218, allocations: 4 kB / 0.6658 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2218, allocations: 4 kB / 0.6658 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006756/0.2286, allocations: 1.776 MB / 0.6675 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.2297, allocations: 195.7 kB / 0.6677 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/0.2536, allocations: 9.304 MB / 0.6768 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.2551, allocations: 163 kB / 0.677 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.2553, allocations: 39.98 kB / 0.677 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002053/0.2574, allocations: 0.8654 MB / 0.6778 GB, free: 6.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.2591, allocations: 0.8198 MB / 0.6786 GB, free: 5.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003223/0.2624, allocations: 1.494 MB / 0.6801 GB, free: 4.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.2624, allocations: 7.984 kB / 0.6801 GB, free: 4.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01414/0.2765, allocations: 4.214 MB / 0.6842 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2766, allocations: 8 kB / 0.6842 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2766, allocations: 4 kB / 0.6842 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006464/0.2831, allocations: 1.776 MB / 0.686 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.2841, allocations: 199.7 kB / 0.6862 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/0.3071, allocations: 9.302 MB / 0.6952 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.3086, allocations: 151.2 kB / 0.6954 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.3088, allocations: 39.98 kB / 0.6954 GB, free: 4.254 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.0003592/0.3092, allocations: 236 kB / 0.6957 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.3095, allocations: 110.6 kB / 0.6958 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.3231, allocations: 3.908 MB / 0.6996 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.3232, allocations: 3.984 kB / 0.6996 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3232, allocations: 0 / 0.6996 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.3235, allocations: 191.6 kB / 0.6998 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.3238, allocations: 16 kB / 0.6998 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.3249, allocations: 103.8 kB / 0.6999 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/0.3261, allocations: 484.2 kB / 0.7003 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006294/0.3324, allocations: 2.02 MB / 0.7023 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004769/0.3372, allocations: 2.169 MB / 0.7044 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001402/0.3386, allocations: 0.57 MB / 0.705 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007879/0.3394, allocations: 0.5549 MB / 0.7055 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of Backend: time 7.62e-07/0.3394, allocations: 0 / 0.7055 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01152/0.3509, allocations: 3.745 MB / 0.7092 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003332/0.3543, allocations: 2.554 MB / 0.7117 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of Templates: time 0.2833/0.6377, allocations: 33.14 MB / 0.744 GB, free: 74.87 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)