Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.001122/0.001122, allocations: 180.9 kB / 7.651 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.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.609 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.001096/0.001096, allocations: 98.97 kB / 280.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5115/0.5115, allocations: 78.07 MB / 409.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.574e-05, allocations: 0 / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 69.35 MB / 0.5414 GB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.6186, allocations: 96.88 MB / 0.636 GB, free: 2.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.6189, allocations: 76.95 kB / 0.6361 GB, free: 2.516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06084/0.6797, allocations: 23.58 MB / 0.6591 GB, free: 11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6798, allocations: 0 / 0.6591 GB, free: 11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/0.6798, allocations: 20 kB / 0.6591 GB, free: 10.98 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004126/0.684, allocations: 1.622 MB / 0.6607 GB, free: 9.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.684, allocations: 8.031 kB / 0.6607 GB, free: 9.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.6872, allocations: 0.5371 MB / 0.6612 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.6885, allocations: 0.6848 MB / 0.6619 GB, free: 8.047 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.6888, allocations: 232.2 kB / 0.6621 GB, free: 7.781 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.6889, allocations: 40 kB / 0.6621 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/0.6902, allocations: 0.7577 MB / 0.6629 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.6915, allocations: 0.7024 MB / 0.6636 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.6915, allocations: 0 / 0.6636 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.6916, allocations: 0 / 0.6636 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.6917, allocations: 20 kB / 0.6636 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.6972, allocations: 3.154 MB / 0.6667 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.6987, allocations: 1.128 MB / 0.6678 GB, free: 1.723 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.6994, allocations: 0.5232 MB / 0.6683 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.6996, allocations: 12.77 kB / 0.6683 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.6996, allocations: 43.34 kB / 0.6683 GB, free: 1.129 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 2.114e-06/0.6996, allocations: 4 kB / 0.6683 GB, free: 1.125 MB / 474.7 MB Notification: Performance of matching and sorting (n=84): time 0.01196/0.7116, allocations: 3.922 MB / 0.6722 GB, free: 13.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.7117, allocations: 60.19 kB / 0.6722 GB, free: 13.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/0.7126, allocations: 0.6182 MB / 0.6728 GB, free: 12.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.7128, allocations: 26.64 kB / 0.6729 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.7131, allocations: 444.4 kB / 0.6733 GB, free: 12.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.7133, allocations: 291.6 kB / 0.6736 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.7134, allocations: 0 / 0.6736 GB, free: 11.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.7135, allocations: 341.9 kB / 0.6739 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.7142, allocations: 402.6 kB / 0.6743 GB, free: 11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.7149, allocations: 0.4998 MB / 0.6748 GB, free: 10.47 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.7159, allocations: 0.5367 MB / 0.6753 GB, free: 9.914 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7159, allocations: 5.812 kB / 0.6753 GB, free: 9.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0125/0.7284, allocations: 4.137 MB / 0.6793 GB, free: 5.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.7285, allocations: 9.562 kB / 0.6793 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7285, allocations: 0.7812 kB / 0.6793 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005755/0.7342, allocations: 1.76 MB / 0.6811 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.7349, allocations: 119.8 kB / 0.6812 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.7492, allocations: 7.313 MB / 0.6883 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.7505, allocations: 155.3 kB / 0.6885 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.7506, allocations: 24 kB / 0.6885 GB, free: 12.25 MB / 0.4948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.order5Type1_Inputs_Outputs.delta = 0.0. 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 (62): * Single equations (assignments): 61 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.7508, allocations: 122 kB / 0.6886 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01167/0.7625, allocations: 3.93 MB / 0.6924 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/0.7632, allocations: 98.78 kB / 0.6925 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.7751, allocations: 4.034 MB / 0.6965 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7751, allocations: 8 kB / 0.6965 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.7751, allocations: 0 / 0.6965 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7751, allocations: 3.984 kB / 0.6965 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.7883, allocations: 5.471 MB / 0.7018 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7883, allocations: 0 / 0.7018 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.7889, allocations: 99.89 kB / 0.7019 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.7938, allocations: 1.667 MB / 0.7035 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/0.7939, allocations: 10.75 kB / 0.7036 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.8058, allocations: 6.19 MB / 0.7096 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8058, allocations: 0.8594 kB / 0.7096 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.8188, allocations: 4.733 MB / 0.7142 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/0.8194, allocations: 199.5 kB / 0.7144 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.8196, allocations: 4 kB / 0.7144 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.8206, allocations: 119.9 kB / 0.7145 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006455/0.8212, allocations: 192.4 kB / 0.7147 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.8213, allocations: 24 kB / 0.7147 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006652/0.822, allocations: 483.1 kB / 0.7152 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.822, allocations: 4 kB / 0.7152 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001322/0.8233, allocations: 367.5 kB / 0.7156 GB, free: 212 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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.01351/0.8368, allocations: 5.313 MB / 0.7207 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.8421, allocations: 1.894 MB / 0.7226 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8421, allocations: 64 / 0.7226 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004094/0.8462, allocations: 1.419 MB / 0.724 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.847, allocations: 55.3 kB / 0.724 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.85, allocations: 1.49 MB / 0.7255 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.8506, allocations: 1.06 MB / 0.7265 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.8509, allocations: 57.16 kB / 0.7266 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.8513, allocations: 371.3 kB / 0.7269 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/0.8513, allocations: 0 / 0.7269 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.9084, allocations: 25.8 MB / 0.7521 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.9086, allocations: 125.6 kB / 0.7522 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/4.061, allocations: 0 / 0.7522 GB, free: 10.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)