Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",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.008514/0.008514, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 93.64 kB / 290.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5026/0.5026, allocations: 78.52 MB / 419.8 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 8 kB / 499.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 69.36 MB / 0.5558 GB, free: 1.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.614, allocations: 91.52 MB / 0.6452 GB, free: 10.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.6142, allocations: 71.72 kB / 0.6453 GB, free: 10.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.6325, allocations: 8.016 MB / 0.6531 GB, free: 3.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6325, allocations: 0 / 0.6531 GB, free: 3.145 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.6325, allocations: 9.312 kB / 0.6531 GB, free: 3.137 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001728/0.6343, allocations: 0.8357 MB / 0.6539 GB, free: 2.262 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6343, allocations: 8.75 kB / 0.6539 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.6344, allocations: 58.55 kB / 0.654 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.6353, allocations: 186.6 kB / 0.6541 GB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.6357, allocations: 326.9 kB / 0.6545 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.6358, allocations: 86.17 kB / 0.6545 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.6359, allocations: 20 kB / 0.6546 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.6365, allocations: 401 kB / 0.6549 GB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6365, allocations: 3.953 kB / 0.6549 GB, free: 1.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.6366, allocations: 4 kB / 0.655 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6366, allocations: 8 kB / 0.655 GB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.6372, allocations: 386.1 kB / 0.6553 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.6389, allocations: 1.051 MB / 0.6564 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006912/0.6459, allocations: 1.825 MB / 0.6581 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.6459, allocations: 4 kB / 0.6581 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.646, allocations: 34.56 kB / 0.6582 GB, free: 13.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.512e-06/0.646, allocations: 0 / 0.6582 GB, free: 13.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.007096/0.6531, allocations: 2.386 MB / 0.6605 GB, free: 11.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.6532, allocations: 59.36 kB / 0.6606 GB, free: 11.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.6536, allocations: 279.7 kB / 0.6608 GB, free: 10.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.6537, allocations: 29.7 kB / 0.6609 GB, free: 10.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.6538, allocations: 192.6 kB / 0.661 GB, free: 10.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.654, allocations: 110.4 kB / 0.6611 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.654, allocations: 8 kB / 0.6611 GB, free: 10.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6541, allocations: 342.8 kB / 0.6615 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.6547, allocations: 240.4 kB / 0.6617 GB, free: 10.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.6552, allocations: 241 kB / 0.6619 GB, free: 9.805 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.6557, allocations: 257.3 kB / 0.6622 GB, free: 9.555 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6557, allocations: 4 kB / 0.6622 GB, free: 9.551 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004459/0.6602, allocations: 1.492 MB / 0.6636 GB, free: 8.043 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6602, allocations: 8 kB / 0.6636 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6602, allocations: 0 / 0.6636 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003297/0.6635, allocations: 0.8769 MB / 0.6645 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.6637, allocations: 35.92 kB / 0.6645 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.6696, allocations: 3.175 MB / 0.6676 GB, free: 3.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.6702, allocations: 59.81 kB / 0.6677 GB, free: 3.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.6703, allocations: 8 kB / 0.6677 GB, free: 3.754 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.6705, allocations: 149.8 kB / 0.6678 GB, free: 3.598 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.6706, allocations: 39.53 kB / 0.6679 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/0.6748, allocations: 1.448 MB / 0.6693 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6748, allocations: 4 kB / 0.6693 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6748, allocations: 0 / 0.6693 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6749, allocations: 4 kB / 0.6693 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.6755, allocations: 0.5204 MB / 0.6698 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6755, allocations: 0 / 0.6698 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6757, allocations: 32.27 kB / 0.6698 GB, free: 1.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.6784, allocations: 0.8064 MB / 0.6706 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.6785, allocations: 4 kB / 0.6706 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/0.6831, allocations: 2.727 MB / 0.6733 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6831, allocations: 0 / 0.6733 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.6879, allocations: 1.841 MB / 0.6751 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.6882, allocations: 120.6 kB / 0.6752 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.6883, allocations: 5.438 kB / 0.6752 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.6887, allocations: 51.98 kB / 0.6753 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.689, allocations: 87.83 kB / 0.6754 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.689, allocations: 4 kB / 0.6754 GB, free: 11.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002949/0.6893, allocations: 231.1 kB / 0.6756 GB, free: 11.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6893, allocations: 0 / 0.6756 GB, free: 11.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006309/0.69, allocations: 151.8 kB / 0.6757 GB, free: 11.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005148/0.6951, allocations: 2.389 MB / 0.6781 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.6977, allocations: 1.092 MB / 0.6791 GB, free: 7.715 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6978, allocations: 0 / 0.6791 GB, free: 7.715 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.6995, allocations: 0.7915 MB / 0.6799 GB, free: 6.867 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.6999, allocations: 17.98 kB / 0.6799 GB, free: 6.852 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.7128, allocations: 3.852 MB / 0.6837 GB, free: 2.945 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.7132, allocations: 0.8057 MB / 0.6845 GB, free: 2.117 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.7134, allocations: 17.94 kB / 0.6845 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.7135, allocations: 107.4 kB / 0.6846 GB, free: 1.996 MB / 474.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7135, allocations: 3.938 kB / 0.6846 GB, free: 1.992 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.7394, allocations: 10.18 MB / 0.6945 GB, free: 8.109 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7396, allocations: 221.6 kB / 0.6947 GB, free: 7.867 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.981, allocations: 0 / 0.6947 GB, free: 7.867 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)