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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 95.84 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5046/0.5046, allocations: 78.07 MB / 409.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.385e-05, allocations: 7.938 kB / 485 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1565, allocations: 69.36 MB / 0.5414 GB, free: 6.758 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.6208, allocations: 97.24 MB / 0.6363 GB, free: 2.184 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.6211, allocations: 79.95 kB / 0.6364 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0635/0.6846, allocations: 24.33 MB / 0.6602 GB, free: 9.832 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6847, allocations: 0 / 0.6602 GB, free: 9.832 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.725e-05/0.6847, allocations: 23.94 kB / 0.6602 GB, free: 9.809 MB / 474.7 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.004363/0.6891, allocations: 1.648 MB / 0.6618 GB, free: 8.117 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.6892, allocations: 12.03 kB / 0.6618 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.6924, allocations: 0.537 MB / 0.6623 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.6938, allocations: 0.7138 MB / 0.663 GB, free: 6.816 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.6941, allocations: 236.2 kB / 0.6633 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6942, allocations: 43.91 kB / 0.6633 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001542/0.6958, allocations: 0.7616 MB / 0.6641 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.6972, allocations: 0.718 MB / 0.6648 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6972, allocations: 0 / 0.6648 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.6973, allocations: 0 / 0.6648 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.6973, allocations: 16 kB / 0.6648 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/0.703, allocations: 3.217 MB / 0.6679 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.7043, allocations: 1.145 MB / 0.669 GB, free: 388 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.7051, allocations: 0.5271 MB / 0.6695 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.7052, allocations: 24.7 kB / 0.6696 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.7052, allocations: 39.34 kB / 0.6696 GB, free: 15.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.054e-06/0.7052, allocations: 0 / 0.6696 GB, free: 15.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.012/0.7172, allocations: 3.945 MB / 0.6735 GB, free: 11.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.7173, allocations: 64.12 kB / 0.6735 GB, free: 11.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/0.7183, allocations: 0.6513 MB / 0.6742 GB, free: 11.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.7185, allocations: 25.7 kB / 0.6742 GB, free: 11.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.7188, allocations: 456.3 kB / 0.6746 GB, free: 10.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.7191, allocations: 291.6 kB / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.7192, allocations: 0 / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.7193, allocations: 345.8 kB / 0.6752 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.72, allocations: 418.6 kB / 0.6756 GB, free: 9.543 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.7206, allocations: 0.4998 MB / 0.6761 GB, free: 9.012 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.7213, allocations: 452.4 kB / 0.6765 GB, free: 8.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7213, allocations: 4 kB / 0.6765 GB, free: 8.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0126/0.7339, allocations: 4.134 MB / 0.6806 GB, free: 4.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.734, allocations: 4 kB / 0.6806 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.734, allocations: 4 kB / 0.6806 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005836/0.7398, allocations: 1.736 MB / 0.6823 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.7405, allocations: 127.8 kB / 0.6824 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.755, allocations: 7.224 MB / 0.6895 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.7566, allocations: 160.2 kB / 0.6896 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.7567, allocations: 31.98 kB / 0.6896 GB, free: 11.01 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.7569, allocations: 122 kB / 0.6898 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01209/0.769, allocations: 3.957 MB / 0.6936 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.7693, allocations: 102.8 kB / 0.6937 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.7814, allocations: 4.039 MB / 0.6977 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.7815, allocations: 8 kB / 0.6977 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.7815, allocations: 0 / 0.6977 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.7815, allocations: 3.984 kB / 0.6977 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.7951, allocations: 5.526 MB / 0.7031 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.7952, allocations: 6.625 kB / 0.7031 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.7958, allocations: 104.6 kB / 0.7032 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005124/0.8009, allocations: 1.667 MB / 0.7048 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.8011, allocations: 8 kB / 0.7048 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.8131, allocations: 6.187 MB / 0.7109 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8131, allocations: 4 kB / 0.7109 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.8267, allocations: 4.783 MB / 0.7155 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/0.8274, allocations: 191.6 kB / 0.7157 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.8276, allocations: 3.953 kB / 0.7157 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.8287, allocations: 116.5 kB / 0.7158 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006829/0.8293, allocations: 208.3 kB / 0.716 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.8295, allocations: 26.31 kB / 0.7161 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007479/0.8302, allocations: 0.5036 MB / 0.7165 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8302, allocations: 0 / 0.7165 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001263/0.8315, allocations: 375.5 kB / 0.7169 GB, free: 14.76 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01361/0.8451, allocations: 5.364 MB / 0.7221 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005154/0.8503, allocations: 1.901 MB / 0.724 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8503, allocations: 0 / 0.724 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004163/0.8545, allocations: 1.418 MB / 0.7254 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.8552, allocations: 59.28 kB / 0.7254 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.8583, allocations: 1.585 MB / 0.727 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.8589, allocations: 1.068 MB / 0.728 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.8592, allocations: 57.23 kB / 0.7281 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.8597, allocations: 375.3 kB / 0.7284 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.8597, allocations: 0 / 0.7284 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05796/0.9176, allocations: 26.19 MB / 0.754 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.9179, allocations: 123.7 kB / 0.7541 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/4.058, allocations: 4 kB / 0.7541 GB, free: 8.668 MB / 0.5573 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/linux/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)