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.006588/0.006588, allocations: 106.2 kB / 15.74 MB, free: 6 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.395/1.395, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001323/0.001323, allocations: 188.4 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4509/0.4509, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 79.81 kB / 0.5531 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2827, allocations: 68.16 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.004788/0.2875, allocations: 6.082 MB / 0.6257 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.2902, allocations: 1.856 MB / 0.6275 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.2905, allocations: 12 kB / 0.6275 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.2909, allocations: 210.2 kB / 0.6277 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.2922, allocations: 0.7503 MB / 0.6284 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2933, allocations: 0.6243 MB / 0.629 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2944, allocations: 1.362 MB / 0.6304 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.2949, allocations: 297.5 kB / 0.6306 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.2954, allocations: 0.5524 MB / 0.6312 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.2961, allocations: 0.6884 MB / 0.6318 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2963, allocations: 96 kB / 0.6319 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.2967, allocations: 235.9 kB / 0.6322 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.2969, allocations: 266.8 kB / 0.6324 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.2973, allocations: 0.5786 MB / 0.633 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2986, allocations: 1.46 MB / 0.6344 GB, free: 11.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2987, allocations: 0 / 0.6344 GB, free: 11.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2987, allocations: 0 / 0.6344 GB, free: 11.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.2987, allocations: 0 / 0.6344 GB, free: 11.05 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.007246/0.3059, allocations: 2.447 MB / 0.6368 GB, free: 8.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.306, allocations: 8.031 kB / 0.6368 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.3061, allocations: 122.4 kB / 0.6369 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.3111, allocations: 0.7711 MB / 0.6377 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.3123, allocations: 0.7361 MB / 0.6384 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.3126, allocations: 256.2 kB / 0.6386 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3127, allocations: 75.91 kB / 0.6387 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.3149, allocations: 1.09 MB / 0.6398 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3149, allocations: 0 / 0.6398 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.315, allocations: 39.88 kB / 0.6398 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.315, allocations: 19.94 kB / 0.6398 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.3171, allocations: 1.027 MB / 0.6408 GB, free: 4.312 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.00574/0.3229, allocations: 3.484 MB / 0.6442 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.3253, allocations: 1.444 MB / 0.6456 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.3267, allocations: 0.7417 MB / 0.6464 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3268, allocations: 12.98 kB / 0.6464 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3269, allocations: 47.56 kB / 0.6464 GB, free: 14.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.234e-06/0.3269, allocations: 0 / 0.6464 GB, free: 14.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=89): time 0.0237/0.3506, allocations: 6.434 MB / 0.6527 GB, free: 7.812 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3507, allocations: 90.11 kB / 0.6528 GB, free: 7.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3518, allocations: 0.828 MB / 0.6536 GB, free: 6.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.352, allocations: 41.7 kB / 0.6536 GB, free: 6.809 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.3524, allocations: 460.6 kB / 0.6541 GB, free: 6.352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.3527, allocations: 319.4 kB / 0.6544 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.3532, allocations: 194.8 kB / 0.6546 GB, free: 5.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3533, allocations: 349.9 kB / 0.6549 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.3549, allocations: 0.7047 MB / 0.6556 GB, free: 4.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.3565, allocations: 0.8315 MB / 0.6564 GB, free: 3.914 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/0.3595, allocations: 1.502 MB / 0.6579 GB, free: 2.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3596, allocations: 0 / 0.6579 GB, free: 2.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01319/0.3728, allocations: 4.222 MB / 0.662 GB, free: 14.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3728, allocations: 8 kB / 0.662 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3728, allocations: 0 / 0.662 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.379, allocations: 1.783 MB / 0.6638 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.38, allocations: 195.7 kB / 0.6639 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.4018, allocations: 9.332 MB / 0.6731 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4033, allocations: 163 kB / 0.6732 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.4035, allocations: 39.98 kB / 0.6732 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001949/0.4054, allocations: 0.85 MB / 0.6741 GB, free: 1.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00158/0.407, allocations: 0.8197 MB / 0.6749 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002933/0.41, allocations: 1.479 MB / 0.6763 GB, free: 15.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.41, allocations: 0 / 0.6763 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01319/0.4232, allocations: 4.195 MB / 0.6804 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4232, allocations: 4 kB / 0.6804 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4233, allocations: 4 kB / 0.6804 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006213/0.4295, allocations: 1.792 MB / 0.6822 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/0.4305, allocations: 187.7 kB / 0.6824 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.4524, allocations: 9.322 MB / 0.6915 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.4539, allocations: 155 kB / 0.6916 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.4541, allocations: 39.98 kB / 0.6916 GB, free: 15.41 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.0004076/0.4546, allocations: 234.8 kB / 0.6919 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.4549, allocations: 106.7 kB / 0.692 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.4673, allocations: 3.915 MB / 0.6958 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4673, allocations: 16 kB / 0.6958 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4674, allocations: 3.938 kB / 0.6958 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.4674, allocations: 7.969 kB / 0.6958 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.4818, allocations: 5.601 MB / 0.7013 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4819, allocations: 4.062 kB / 0.7013 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.4825, allocations: 107.8 kB / 0.7014 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005575/0.4881, allocations: 1.741 MB / 0.7031 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4882, allocations: 16 kB / 0.7031 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.5064, allocations: 8.08 MB / 0.711 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5064, allocations: 0 / 0.711 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.5205, allocations: 4.825 MB / 0.7157 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5209, allocations: 191.6 kB / 0.7159 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.5211, allocations: 16.12 kB / 0.7159 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5221, allocations: 103.9 kB / 0.716 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006287/0.5228, allocations: 208.6 kB / 0.7162 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/0.5229, allocations: 20 kB / 0.7162 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008057/0.5237, allocations: 0.5627 MB / 0.7168 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5237, allocations: 0 / 0.7168 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002197/0.5259, allocations: 0.6788 MB / 0.7174 GB, free: 4.605 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.0138/0.5397, allocations: 5.405 MB / 0.7227 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.5508, allocations: 4.173 MB / 0.7268 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5509, allocations: 4.188 kB / 0.7268 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00482/0.5557, allocations: 1.558 MB / 0.7283 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/0.5566, allocations: 87.42 kB / 0.7284 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03648/0.5931, allocations: 14.93 MB / 0.743 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.5939, allocations: 1.077 MB / 0.744 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005183/0.5944, allocations: 106.6 kB / 0.7441 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.595, allocations: 411.3 kB / 0.7445 GB, free: 8.535 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.595, allocations: 0 / 0.7445 GB, free: 8.535 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3513/0.9463, allocations: 40.77 MB / 0.7843 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.52, allocations: 0 / 0.7843 GB, free: 135.2 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)