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.001132/0.001132, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.324/1.324, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.001242/0.001242, allocations: 184.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4512/0.4512, allocations: 78.52 MB / 419.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 83.88 kB / 0.5543 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2923, allocations: 68.18 MB / 0.6209 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004886/0.2972, allocations: 6.125 MB / 0.6269 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.3003, allocations: 1.852 MB / 0.6287 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.3008, allocations: 15.94 kB / 0.6287 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.3013, allocations: 210.2 kB / 0.6289 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3026, allocations: 0.748 MB / 0.6296 GB, free: 1.406 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.001101/0.3038, allocations: 0.6344 MB / 0.6302 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.305, allocations: 1.358 MB / 0.6316 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.3054, allocations: 307.2 kB / 0.6318 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.3061, allocations: 0.5602 MB / 0.6324 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007381/0.3068, allocations: 0.6883 MB / 0.6331 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.307, allocations: 96 kB / 0.6332 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.3075, allocations: 227.9 kB / 0.6334 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.3077, allocations: 266.8 kB / 0.6336 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.3082, allocations: 0.5903 MB / 0.6342 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.3096, allocations: 1.45 MB / 0.6356 GB, free: 11.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3096, allocations: 0 / 0.6356 GB, free: 11.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3096, allocations: 0 / 0.6356 GB, free: 11.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.3096, allocations: 4 kB / 0.6356 GB, free: 11.23 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.007972/0.3176, allocations: 2.44 MB / 0.638 GB, free: 8.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3177, allocations: 8.031 kB / 0.638 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.3228, allocations: 0.7634 MB / 0.6388 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.324, allocations: 0.7476 MB / 0.6395 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.3243, allocations: 252.2 kB / 0.6397 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3244, allocations: 80 kB / 0.6398 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.3267, allocations: 1.094 MB / 0.6409 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3267, allocations: 0 / 0.6409 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/0.3268, allocations: 32 kB / 0.6409 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3268, allocations: 19.94 kB / 0.6409 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.3291, allocations: 1.027 MB / 0.6419 GB, free: 4.621 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.005866/0.335, allocations: 3.457 MB / 0.6453 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.3374, allocations: 1.428 MB / 0.6467 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.3391, allocations: 0.7417 MB / 0.6474 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.051e-05/0.3392, allocations: 13 kB / 0.6474 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3392, allocations: 51.55 kB / 0.6475 GB, free: 14.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.825e-06/0.3392, allocations: 0 / 0.6475 GB, free: 14.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02841/0.3676, allocations: 6.89 MB / 0.6542 GB, free: 7.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3677, allocations: 94.11 kB / 0.6543 GB, free: 7.605 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3688, allocations: 0.8202 MB / 0.6551 GB, free: 6.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.3689, allocations: 45.7 kB / 0.6552 GB, free: 6.711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.3692, allocations: 440.7 kB / 0.6556 GB, free: 6.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.3696, allocations: 327.3 kB / 0.6559 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/0.37, allocations: 202.8 kB / 0.6561 GB, free: 5.742 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3701, allocations: 349.9 kB / 0.6564 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.3717, allocations: 0.7126 MB / 0.6571 GB, free: 4.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.3734, allocations: 0.8431 MB / 0.6579 GB, free: 3.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.3767, allocations: 1.514 MB / 0.6594 GB, free: 2.254 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3767, allocations: 0 / 0.6594 GB, free: 2.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0142/0.3909, allocations: 4.234 MB / 0.6635 GB, free: 14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3909, allocations: 8 kB / 0.6635 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3909, allocations: 0 / 0.6635 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006412/0.3974, allocations: 1.783 MB / 0.6653 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.3984, allocations: 199.7 kB / 0.6655 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/0.4204, allocations: 9.299 MB / 0.6746 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4218, allocations: 166.8 kB / 0.6747 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4219, allocations: 43.98 kB / 0.6748 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0018/0.4237, allocations: 0.8578 MB / 0.6756 GB, free: 1.504 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00162/0.4254, allocations: 0.8353 MB / 0.6764 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00307/0.4285, allocations: 1.494 MB / 0.6779 GB, free: 15.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/0.4285, allocations: 0 / 0.6779 GB, free: 15.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01376/0.4422, allocations: 4.21 MB / 0.682 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4423, allocations: 8 kB / 0.682 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4423, allocations: 4 kB / 0.682 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006311/0.4486, allocations: 1.784 MB / 0.6837 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.4495, allocations: 195.7 kB / 0.6839 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.4713, allocations: 9.295 MB / 0.693 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4727, allocations: 147.2 kB / 0.6931 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.4729, allocations: 43.98 kB / 0.6932 GB, free: 15.26 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.0003026/0.4732, allocations: 228.7 kB / 0.6934 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.4734, allocations: 114.6 kB / 0.6935 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.4867, allocations: 3.911 MB / 0.6973 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/0.4867, allocations: 11.97 kB / 0.6973 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4868, allocations: 0 / 0.6973 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.4871, allocations: 191.6 kB / 0.6975 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4873, allocations: 16 kB / 0.6975 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.4885, allocations: 95.83 kB / 0.6976 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/0.4896, allocations: 492.2 kB / 0.6981 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006245/0.4959, allocations: 2.02 MB / 0.7001 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004682/0.5006, allocations: 2.169 MB / 0.7022 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001375/0.502, allocations: 0.5777 MB / 0.7028 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007159/0.5027, allocations: 0.5549 MB / 0.7033 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.5027, allocations: 0 / 0.7033 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01134/0.5141, allocations: 3.723 MB / 0.7069 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003165/0.5173, allocations: 2.563 MB / 0.7094 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.04826/0.5655, allocations: 33.13 MB / 0.7418 GB, free: 13.32 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)