Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.008756/0.008756, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.478/1.478, allocations: 223.2 MB / 239 MB, free: 1.785 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.001015/0.001016, allocations: 92.41 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5097/0.5097, allocations: 79.43 MB / 420.7 MB, free: 43.78 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004179, allocations: 12 kB / 0.4891 GB, free: 1.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4055, allocations: 69.51 MB / 0.557 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5414, allocations: 92.66 MB / 0.6475 GB, free: 12.89 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5417, allocations: 80.73 kB / 0.6476 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02648/0.5682, allocations: 9.261 MB / 0.6566 GB, free: 3.539 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5682, allocations: 0 / 0.6566 GB, free: 3.539 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.5683, allocations: 8 kB / 0.6566 GB, free: 3.531 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0027/0.571, allocations: 0.9271 MB / 0.6575 GB, free: 2.555 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.571, allocations: 12.03 kB / 0.6575 GB, free: 2.543 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.5712, allocations: 62.53 kB / 0.6576 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5724, allocations: 183.3 kB / 0.6578 GB, free: 2.293 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.5732, allocations: 377.1 kB / 0.6581 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.5733, allocations: 95.95 kB / 0.6582 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.5734, allocations: 24.34 kB / 0.6582 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.5743, allocations: 424.6 kB / 0.6586 GB, free: 1.328 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5743, allocations: 0 / 0.6586 GB, free: 1.328 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.5744, allocations: 8 kB / 0.6587 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5744, allocations: 8 kB / 0.6587 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.5752, allocations: 418 kB / 0.6591 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.5776, allocations: 1.127 MB / 0.6602 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/0.5849, allocations: 1.848 MB / 0.662 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-05/0.5851, allocations: 4 kB / 0.662 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5851, allocations: 42.5 kB / 0.662 GB, free: 13.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.5851, allocations: 3.938 kB / 0.662 GB, free: 13.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.006995/0.5921, allocations: 2.357 MB / 0.6643 GB, free: 11.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.5922, allocations: 55.41 kB / 0.6644 GB, free: 11.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.5928, allocations: 364.8 kB / 0.6647 GB, free: 10.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.5929, allocations: 29.7 kB / 0.6647 GB, free: 10.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.593, allocations: 208.5 kB / 0.6649 GB, free: 10.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5932, allocations: 130.1 kB / 0.6651 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.5932, allocations: 4 kB / 0.6651 GB, free: 10.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5933, allocations: 350.8 kB / 0.6654 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.5939, allocations: 248.5 kB / 0.6656 GB, free: 9.984 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.5944, allocations: 257.2 kB / 0.6659 GB, free: 9.734 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.5949, allocations: 266.2 kB / 0.6661 GB, free: 9.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5949, allocations: 0 / 0.6661 GB, free: 9.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004305/0.5992, allocations: 1.522 MB / 0.6676 GB, free: 7.938 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5993, allocations: 8 kB / 0.6676 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5993, allocations: 0 / 0.6676 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/0.6024, allocations: 0.8884 MB / 0.6685 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.6027, allocations: 35.92 kB / 0.6685 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.6088, allocations: 3.144 MB / 0.6716 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.6094, allocations: 56.44 kB / 0.6717 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.6095, allocations: 15.98 kB / 0.6717 GB, free: 3.652 MB / 474.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 (26): * Single equations (assignments): 23 * 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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.6098, allocations: 155.7 kB / 0.6718 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.6099, allocations: 39.53 kB / 0.6719 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.6139, allocations: 1.445 MB / 0.6733 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6139, allocations: 4 kB / 0.6733 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6139, allocations: 0 / 0.6733 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6139, allocations: 3.984 kB / 0.6733 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.6147, allocations: 0.5399 MB / 0.6738 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.6147, allocations: 3.953 kB / 0.6738 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.615, allocations: 35.92 kB / 0.6738 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.6174, allocations: 0.744 MB / 0.6746 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.6174, allocations: 8 kB / 0.6746 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.6218, allocations: 2.613 MB / 0.6771 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6218, allocations: 0 / 0.6771 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.6266, allocations: 1.848 MB / 0.6789 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.6268, allocations: 124.4 kB / 0.6791 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6269, allocations: 8 kB / 0.6791 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.6275, allocations: 51.95 kB / 0.6791 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.6277, allocations: 87.8 kB / 0.6792 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6278, allocations: 8 kB / 0.6792 GB, free: 11.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003969/0.6282, allocations: 291.2 kB / 0.6795 GB, free: 11.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6282, allocations: 0 / 0.6795 GB, free: 11.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006677/0.6289, allocations: 159.9 kB / 0.6796 GB, free: 11.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * 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.00511/0.634, allocations: 2.412 MB / 0.682 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.6371, allocations: 1.181 MB / 0.6831 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6371, allocations: 0 / 0.6831 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.639, allocations: 0.8146 MB / 0.6839 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.6394, allocations: 27.31 kB / 0.684 GB, free: 6.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008458/0.6479, allocations: 3.91 MB / 0.6878 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.6484, allocations: 0.8227 MB / 0.6886 GB, free: 1.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.6485, allocations: 26.97 kB / 0.6886 GB, free: 1.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.6488, allocations: 135.4 kB / 0.6887 GB, free: 1.684 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6488, allocations: 0 / 0.6887 GB, free: 1.684 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.6766, allocations: 10.94 MB / 0.6994 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.6769, allocations: 231.6 kB / 0.6996 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.006, allocations: 0 / 0.6996 GB, free: 6.719 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)