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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.007643/0.007643, allocations: 99.86 kB / 15.73 MB, free: 6.031 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.33/1.33, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001461/0.001461, allocations: 195.3 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4379/0.4379, allocations: 78.53 MB / 418.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 87.86 kB / 0.5532 GB, free: 1.504 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3272, allocations: 68.16 MB / 0.6197 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005645/0.3329, allocations: 6.085 MB / 0.6257 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.3363, allocations: 1.852 MB / 0.6275 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009387/0.3373, allocations: 8 kB / 0.6275 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006638/0.338, allocations: 214.2 kB / 0.6277 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.34, allocations: 0.6992 MB / 0.6284 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3414, allocations: 0.6397 MB / 0.629 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.3431, allocations: 1.343 MB / 0.6303 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.3436, allocations: 301.5 kB / 0.6306 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.3445, allocations: 0.5562 MB / 0.6311 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000966/0.3455, allocations: 0.6883 MB / 0.6318 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.3458, allocations: 100 kB / 0.6319 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.3465, allocations: 231.9 kB / 0.6321 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.3468, allocations: 270.8 kB / 0.6324 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006937/0.3475, allocations: 0.5864 MB / 0.6329 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.3493, allocations: 1.448 MB / 0.6344 GB, free: 11.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3493, allocations: 4 kB / 0.6344 GB, free: 11.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3493, allocations: 0 / 0.6344 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.3493, allocations: 0 / 0.6344 GB, free: 11.14 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008313/0.3577, allocations: 2.446 MB / 0.6368 GB, free: 8.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3577, allocations: 12.03 kB / 0.6368 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.358, allocations: 118.5 kB / 0.6369 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.363, allocations: 0.771 MB / 0.6376 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.3646, allocations: 0.7399 MB / 0.6384 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.365, allocations: 256.2 kB / 0.6386 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.3652, allocations: 79.91 kB / 0.6387 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.3676, allocations: 1.09 MB / 0.6397 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3677, allocations: 0 / 0.6397 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.3678, allocations: 28 kB / 0.6398 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3678, allocations: 20 kB / 0.6398 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.3701, allocations: 1.027 MB / 0.6408 GB, free: 4.398 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.006366/0.3765, allocations: 3.492 MB / 0.6442 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.3791, allocations: 1.445 MB / 0.6456 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.3806, allocations: 0.7378 MB / 0.6463 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3807, allocations: 16.98 kB / 0.6463 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3808, allocations: 43.56 kB / 0.6464 GB, free: 14.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.3808, allocations: 4 kB / 0.6464 GB, free: 14.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=89): time 0.02579/0.4066, allocations: 6.43 MB / 0.6527 GB, free: 7.895 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.4067, allocations: 86.11 kB / 0.6528 GB, free: 7.793 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.408, allocations: 0.8319 MB / 0.6536 GB, free: 6.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.4083, allocations: 41.7 kB / 0.6536 GB, free: 6.891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.4086, allocations: 452.6 kB / 0.654 GB, free: 6.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.409, allocations: 323.4 kB / 0.6543 GB, free: 6.121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004773/0.4095, allocations: 194.8 kB / 0.6545 GB, free: 5.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4097, allocations: 353.9 kB / 0.6549 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.4113, allocations: 0.7048 MB / 0.6556 GB, free: 4.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.413, allocations: 0.8275 MB / 0.6564 GB, free: 4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/0.4162, allocations: 1.502 MB / 0.6578 GB, free: 2.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4163, allocations: 0 / 0.6578 GB, free: 2.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01412/0.4304, allocations: 4.214 MB / 0.6619 GB, free: 14.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.4305, allocations: 10.34 kB / 0.662 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4305, allocations: 0 / 0.662 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006631/0.4371, allocations: 1.795 MB / 0.6637 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.4381, allocations: 191.7 kB / 0.6639 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/0.4612, allocations: 9.322 MB / 0.673 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.4627, allocations: 167 kB / 0.6732 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.4629, allocations: 43.92 kB / 0.6732 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001924/0.4648, allocations: 0.8461 MB / 0.674 GB, free: 1.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001701/0.4665, allocations: 0.8197 MB / 0.6748 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003196/0.4698, allocations: 1.482 MB / 0.6763 GB, free: 15.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.4698, allocations: 4 kB / 0.6763 GB, free: 15.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.0141/0.4839, allocations: 4.191 MB / 0.6804 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.484, allocations: 8 kB / 0.6804 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.484, allocations: 0 / 0.6804 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006544/0.4905, allocations: 1.796 MB / 0.6821 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.4915, allocations: 183.7 kB / 0.6823 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.5143, allocations: 9.322 MB / 0.6914 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5159, allocations: 159 kB / 0.6916 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.5161, allocations: 36 kB / 0.6916 GB, free: 15.49 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 (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.0003761/0.5165, allocations: 236.1 kB / 0.6918 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.5168, allocations: 102.7 kB / 0.6919 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.5303, allocations: 3.915 MB / 0.6957 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.5304, allocations: 8 kB / 0.6957 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5304, allocations: 3.938 kB / 0.6958 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.5304, allocations: 7.969 kB / 0.6958 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.5468, allocations: 5.609 MB / 0.7012 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.5468, allocations: 0 / 0.7012 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.5475, allocations: 107.9 kB / 0.7013 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006194/0.5537, allocations: 1.745 MB / 0.703 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.5539, allocations: 16 kB / 0.7031 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/0.5738, allocations: 8.072 MB / 0.7109 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.5738, allocations: 7.938 kB / 0.7109 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.5894, allocations: 4.821 MB / 0.7157 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.5898, allocations: 195.6 kB / 0.7158 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.5901, allocations: 20 kB / 0.7159 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5912, allocations: 95.89 kB / 0.716 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000646/0.5919, allocations: 208.6 kB / 0.7162 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.592, allocations: 23.98 kB / 0.7162 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007486/0.5928, allocations: 0.555 MB / 0.7167 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5928, allocations: 4 kB / 0.7167 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00211/0.5949, allocations: 0.6866 MB / 0.7174 GB, free: 4.688 MB / 0.5137 GB 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.01563/0.6105, allocations: 5.4 MB / 0.7227 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01227/0.6228, allocations: 4.184 MB / 0.7268 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.6229, allocations: 0 / 0.7268 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.6278, allocations: 1.553 MB / 0.7283 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.6288, allocations: 101.1 kB / 0.7284 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/0.6687, allocations: 14.92 MB / 0.7429 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/0.6695, allocations: 1.081 MB / 0.744 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005639/0.6701, allocations: 98.66 kB / 0.7441 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/0.6707, allocations: 415.3 kB / 0.7445 GB, free: 8.625 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/0.6707, allocations: 0 / 0.7445 GB, free: 8.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3461/1.017, allocations: 42.6 MB / 0.7861 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.43, allocations: 0 / 0.7861 GB, free: 133.7 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)