Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.007183/0.007183, allocations: 102.7 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.3/1.3, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001376/0.001376, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.449/0.449, allocations: 78.52 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 75.89 kB / 0.5531 GB, free: 1.516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3029, allocations: 68.18 MB / 0.6197 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005035/0.308, allocations: 5.94 MB / 0.6255 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.311, allocations: 1.794 MB / 0.6273 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.3118, allocations: 12 kB / 0.6273 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.3124, allocations: 214.2 kB / 0.6275 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.3142, allocations: 0.703 MB / 0.6282 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3153, allocations: 0.5851 MB / 0.6287 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.3168, allocations: 1.339 MB / 0.6301 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.3172, allocations: 289.3 kB / 0.6303 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.3181, allocations: 0.5524 MB / 0.6309 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008855/0.319, allocations: 0.6923 MB / 0.6315 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.3192, allocations: 96 kB / 0.6316 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.3198, allocations: 235.9 kB / 0.6319 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.3201, allocations: 262.8 kB / 0.6321 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.3207, allocations: 0.5748 MB / 0.6327 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.3222, allocations: 1.436 MB / 0.6341 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3223, allocations: 0 / 0.6341 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3223, allocations: 0 / 0.6341 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-05/0.3223, allocations: 0 / 0.6341 GB, free: 11.41 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008053/0.3304, allocations: 2.442 MB / 0.6365 GB, free: 8.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3304, allocations: 12.03 kB / 0.6365 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.3306, allocations: 114.5 kB / 0.6366 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.3355, allocations: 0.7556 MB / 0.6373 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.3369, allocations: 0.7556 MB / 0.6381 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.3372, allocations: 244.2 kB / 0.6383 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.3374, allocations: 71.98 kB / 0.6384 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.3395, allocations: 0.9833 MB / 0.6393 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3395, allocations: 0 / 0.6393 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.3396, allocations: 31.94 kB / 0.6393 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.3397, allocations: 16 kB / 0.6394 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.3418, allocations: 0.9954 MB / 0.6403 GB, free: 4.84 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.005634/0.3475, allocations: 3.269 MB / 0.6435 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.3496, allocations: 1.354 MB / 0.6448 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.3511, allocations: 0.7227 MB / 0.6456 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.3512, allocations: 9 kB / 0.6456 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3512, allocations: 39.56 kB / 0.6456 GB, free: 15.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.828e-06/0.3512, allocations: 0 / 0.6456 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02636/0.3776, allocations: 6.567 MB / 0.652 GB, free: 8.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.3777, allocations: 64.34 kB / 0.6521 GB, free: 8.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3789, allocations: 0.8429 MB / 0.6529 GB, free: 7.609 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.3792, allocations: 41.7 kB / 0.6529 GB, free: 7.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.3795, allocations: 444.5 kB / 0.6534 GB, free: 7.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.3799, allocations: 311.6 kB / 0.6537 GB, free: 6.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/0.3804, allocations: 194.8 kB / 0.6538 GB, free: 6.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3805, allocations: 349.9 kB / 0.6542 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.3821, allocations: 0.6936 MB / 0.6549 GB, free: 5.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.3837, allocations: 0.8228 MB / 0.6557 GB, free: 4.719 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.3869, allocations: 1.486 MB / 0.6571 GB, free: 3.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3869, allocations: 0 / 0.6571 GB, free: 3.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01445/0.4013, allocations: 4.273 MB / 0.6613 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4014, allocations: 4 kB / 0.6613 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4014, allocations: 4 kB / 0.6613 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/0.4085, allocations: 1.846 MB / 0.6631 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.4095, allocations: 179.7 kB / 0.6633 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.4328, allocations: 9.463 MB / 0.6725 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.4344, allocations: 166.9 kB / 0.6727 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.4346, allocations: 39.98 kB / 0.6727 GB, free: 3.07 MB / 478.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 (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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.4352, allocations: 217.7 kB / 0.6729 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.4354, allocations: 110.6 kB / 0.673 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.4485, allocations: 3.888 MB / 0.6768 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4486, allocations: 8 kB / 0.6768 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4486, allocations: 0 / 0.6768 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4486, allocations: 3.984 kB / 0.6768 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.4636, allocations: 5.427 MB / 0.6821 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.4637, allocations: 4 kB / 0.6821 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.4644, allocations: 95.89 kB / 0.6822 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/0.4704, allocations: 1.749 MB / 0.6839 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.4706, allocations: 19.94 kB / 0.6839 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.4896, allocations: 8.044 MB / 0.6918 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4896, allocations: 4 kB / 0.6918 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.5048, allocations: 4.767 MB / 0.6965 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.5053, allocations: 199.6 kB / 0.6967 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.5056, allocations: 16 kB / 0.6967 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.5068, allocations: 91.89 kB / 0.6968 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007142/0.5075, allocations: 204.7 kB / 0.697 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.5077, allocations: 23.98 kB / 0.697 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008918/0.5086, allocations: 0.5702 MB / 0.6975 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5086, allocations: 4 kB / 0.6975 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001469/0.51, allocations: 423.6 kB / 0.6979 GB, free: 8.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * 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 (52): * Single equations (assignments): 51 * 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.01553/0.5256, allocations: 5.342 MB / 0.7032 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007258/0.5329, allocations: 2.402 MB / 0.7055 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.5329, allocations: 4 kB / 0.7055 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004997/0.5379, allocations: 1.527 MB / 0.707 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.539, allocations: 85.67 kB / 0.7071 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/0.578, allocations: 14.92 MB / 0.7216 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.5788, allocations: 1.041 MB / 0.7227 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003945/0.5792, allocations: 82.44 kB / 0.7227 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.5798, allocations: 391.3 kB / 0.7231 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of SimCode: time 1.834e-06/0.5798, allocations: 0 / 0.7231 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.6433, allocations: 33.91 MB / 0.7562 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.63, allocations: 15.97 kB / 0.7563 GB, free: 12.95 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)