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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.0007911/0.0007911, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.166/1.166, allocations: 223.3 MB / 239.4 MB, free: 5.543 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.0008658/0.0008658, allocations: 188.4 kB / 290.6 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.396/0.396, allocations: 78.54 MB / 420.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 12 kB / 0.4888 GB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 69.37 MB / 0.5565 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.1954/0.3024, allocations: 6 MB / 0.5624 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.3053, allocations: 1.89 MB / 0.5642 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.3059, allocations: 14.88 kB / 0.5642 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.3063, allocations: 167.7 kB / 0.5644 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.3076, allocations: 0.6074 MB / 0.565 GB, free: 34.84 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.00104/0.3087, allocations: 0.5876 MB / 0.5655 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3097, allocations: 1.293 MB / 0.5668 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.3101, allocations: 251.5 kB / 0.567 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.3105, allocations: 0.4951 MB / 0.5675 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.311, allocations: 0.63 MB / 0.5681 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-05/0.3111, allocations: 53.69 kB / 0.5682 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.3115, allocations: 186.3 kB / 0.5684 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3116, allocations: 212.9 kB / 0.5686 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.312, allocations: 0.5539 MB / 0.5691 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.3129, allocations: 1.362 MB / 0.5704 GB, free: 33.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3129, allocations: 0.7812 kB / 0.5704 GB, free: 33.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3129, allocations: 0 / 0.5704 GB, free: 33.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.3129, allocations: 0.5312 kB / 0.5704 GB, free: 33.36 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006307/0.3192, allocations: 2.281 MB / 0.5727 GB, free: 32.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3193, allocations: 8.531 kB / 0.5727 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.3194, allocations: 124.2 kB / 0.5728 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.3239, allocations: 0.77 MB / 0.5736 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.3247, allocations: 0.7381 MB / 0.5743 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.325, allocations: 268.1 kB / 0.5745 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3251, allocations: 82.67 kB / 0.5746 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.327, allocations: 1.172 MB / 0.5758 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3271, allocations: 0 / 0.5758 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.3272, allocations: 28.59 kB / 0.5758 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3272, allocations: 23 kB / 0.5758 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.3292, allocations: 1.125 MB / 0.5769 GB, free: 31.73 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.004792/0.334, allocations: 3.53 MB / 0.5803 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.3361, allocations: 1.549 MB / 0.5819 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.3375, allocations: 0.8154 MB / 0.5827 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.763e-05/0.3375, allocations: 27.45 kB / 0.5827 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.3376, allocations: 37.81 kB / 0.5827 GB, free: 29.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.084e-06/0.3376, allocations: 2.438 kB / 0.5827 GB, free: 29.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02762/0.3652, allocations: 8.542 MB / 0.5911 GB, free: 28.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3653, allocations: 86.67 kB / 0.5911 GB, free: 28.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.3662, allocations: 0.8262 MB / 0.592 GB, free: 27.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.3663, allocations: 41.45 kB / 0.592 GB, free: 27.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3666, allocations: 452.5 kB / 0.5924 GB, free: 27.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.3668, allocations: 322.3 kB / 0.5927 GB, free: 27.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.367, allocations: 105 kB / 0.5928 GB, free: 27.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.367, allocations: 350.8 kB / 0.5932 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.3686, allocations: 0.7788 MB / 0.5939 GB, free: 26.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.3702, allocations: 0.9175 MB / 0.5948 GB, free: 26.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.3732, allocations: 1.678 MB / 0.5965 GB, free: 25.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3732, allocations: 1.25 kB / 0.5965 GB, free: 25.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01419/0.3874, allocations: 5.157 MB / 0.6015 GB, free: 24.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.3875, allocations: 156.2 kB / 0.6016 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3875, allocations: 2.094 kB / 0.6016 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006454/0.394, allocations: 2.1 MB / 0.6037 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.3948, allocations: 204.1 kB / 0.6039 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.4147, allocations: 9.556 MB / 0.6132 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4162, allocations: 208.9 kB / 0.6134 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.4163, allocations: 39.09 kB / 0.6135 GB, free: 18.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.4163, allocations: 4 kB / 0.6135 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/0.4293, allocations: 5.015 MB / 0.6184 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.4294, allocations: 4 kB / 0.6184 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005811/0.4352, allocations: 2.092 MB / 0.6204 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/0.4361, allocations: 199.7 kB / 0.6206 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4542, allocations: 9.538 MB / 0.6299 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4556, allocations: 191.9 kB / 0.6301 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.4557, allocations: 35.98 kB / 0.6301 GB, free: 1.801 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 (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.0004061/0.4561, allocations: 313.4 kB / 0.6304 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4562, allocations: 106.7 kB / 0.6305 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.4694, allocations: 4.829 MB / 0.6352 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4695, allocations: 8 kB / 0.6353 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.4695, allocations: 4 kB / 0.6353 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.4695, allocations: 4.641 kB / 0.6353 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.4847, allocations: 6.5 MB / 0.6416 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4847, allocations: 64 / 0.6416 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.4853, allocations: 115.9 kB / 0.6417 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00594/0.4912, allocations: 2.056 MB / 0.6437 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.4913, allocations: 19.94 kB / 0.6438 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.5087, allocations: 8.205 MB / 0.6518 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5088, allocations: 0 / 0.6518 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01547/0.5242, allocations: 5.853 MB / 0.6575 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.5245, allocations: 203.5 kB / 0.6577 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.5247, allocations: 18.06 kB / 0.6577 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.5257, allocations: 135.9 kB / 0.6578 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/0.5262, allocations: 208.6 kB / 0.658 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.5262, allocations: 20.81 kB / 0.658 GB, free: 4.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005959/0.5268, allocations: 0.5511 MB / 0.6586 GB, free: 4.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5269, allocations: 0 / 0.6586 GB, free: 4.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001606/0.5285, allocations: 0.6866 MB / 0.6592 GB, free: 3.621 MB / 462.1 MB 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.01556/0.544, allocations: 6.437 MB / 0.6655 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01154/0.5556, allocations: 4.656 MB / 0.6701 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5556, allocations: 0 / 0.6701 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.5603, allocations: 1.75 MB / 0.6718 GB, free: 6.711 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.5611, allocations: 89.03 kB / 0.6719 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/0.599, allocations: 17.88 MB / 0.6893 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.5996, allocations: 1.087 MB / 0.6904 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.6001, allocations: 102.8 kB / 0.6905 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.6005, allocations: 403.3 kB / 0.6909 GB, free: 2.797 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6006, allocations: 0 / 0.6909 GB, free: 2.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04971/0.6503, allocations: 36.61 MB / 0.7266 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.6505, allocations: 218.4 kB / 0.7268 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.049, allocations: 0 / 0.7268 GB, free: 14.28 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)