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.00119/0.00119, 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.446/1.446, 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.0009914/0.0009913, allocations: 93.84 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4803/0.4803, allocations: 78.94 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.732e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1497, allocations: 69.52 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6356, allocations: 91.92 MB / 0.6323 GB, free: 6.168 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.6358, allocations: 75.95 kB / 0.6324 GB, free: 6.094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02494/0.6608, allocations: 9.086 MB / 0.6412 GB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6608, allocations: 4 kB / 0.6412 GB, free: 13.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.6608, allocations: 8 kB / 0.6413 GB, free: 13.13 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.002086/0.6629, allocations: 0.8134 MB / 0.642 GB, free: 12.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.663, allocations: 11.97 kB / 0.6421 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6641, allocations: 183.3 kB / 0.6422 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.6647, allocations: 379.7 kB / 0.6426 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6649, allocations: 71.97 kB / 0.6427 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.6649, allocations: 16.94 kB / 0.6427 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005729/0.6655, allocations: 317.1 kB / 0.643 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.6661, allocations: 304 kB / 0.6433 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6661, allocations: 5.266 kB / 0.6433 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.6662, allocations: 0 / 0.6433 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6662, allocations: 8 kB / 0.6433 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.6682, allocations: 1.06 MB / 0.6443 GB, free: 9.852 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007621/0.6759, allocations: 1.722 MB / 0.646 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.6763, allocations: 208.8 kB / 0.6462 GB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.6763, allocations: 7.984 kB / 0.6462 GB, free: 7.902 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.6764, allocations: 35.12 kB / 0.6462 GB, free: 7.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.6764, allocations: 0 / 0.6462 GB, free: 7.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003526/0.6799, allocations: 1.155 MB / 0.6474 GB, free: 6.688 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.68, allocations: 55.41 kB / 0.6474 GB, free: 6.621 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.6805, allocations: 334.4 kB / 0.6477 GB, free: 6.289 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.6806, allocations: 25.7 kB / 0.6478 GB, free: 6.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.6808, allocations: 197.7 kB / 0.648 GB, free: 6.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6809, allocations: 126.1 kB / 0.6481 GB, free: 5.934 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.6809, allocations: 0 / 0.6481 GB, free: 5.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6811, allocations: 346.8 kB / 0.6484 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.6814, allocations: 172.7 kB / 0.6486 GB, free: 5.414 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.6817, allocations: 165 kB / 0.6487 GB, free: 5.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.682, allocations: 185.5 kB / 0.6489 GB, free: 5.074 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.682, allocations: 0 / 0.6489 GB, free: 5.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003759/0.6858, allocations: 1.255 MB / 0.6501 GB, free: 3.805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6858, allocations: 7.984 kB / 0.6501 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6858, allocations: 0 / 0.6501 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.6886, allocations: 0.7271 MB / 0.6508 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.6888, allocations: 39.92 kB / 0.6509 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.6932, allocations: 2.572 MB / 0.6534 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.6937, allocations: 53.28 kB / 0.6534 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.6938, allocations: 12 kB / 0.6535 GB, free: 288 kB / 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 () * 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.0001552/0.694, allocations: 116.7 kB / 0.6536 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00325/0.6972, allocations: 1.135 MB / 0.6547 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6974, allocations: 39.48 kB / 0.6547 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.7008, allocations: 1.191 MB / 0.6559 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.7008, allocations: 4 kB / 0.6559 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.7008, allocations: 4 kB / 0.6559 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.7008, allocations: 3.984 kB / 0.6559 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.7015, allocations: 497.4 kB / 0.6564 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7015, allocations: 1.312 kB / 0.6564 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.7018, allocations: 35.92 kB / 0.6564 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.7037, allocations: 0.5928 MB / 0.657 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.7038, allocations: 1 kB / 0.657 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003215/0.707, allocations: 2.084 MB / 0.659 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.707, allocations: 1.328 kB / 0.659 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.7108, allocations: 1.504 MB / 0.6605 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.711, allocations: 120.6 kB / 0.6606 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.7111, allocations: 4 kB / 0.6606 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.7116, allocations: 47.91 kB / 0.6607 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.7118, allocations: 83.83 kB / 0.6607 GB, free: 8.586 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.7118, allocations: 12 kB / 0.6607 GB, free: 8.574 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003429/0.7122, allocations: 268.6 kB / 0.661 GB, free: 8.316 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7122, allocations: 0 / 0.661 GB, free: 8.316 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000558/0.7127, allocations: 136.7 kB / 0.6611 GB, free: 8.184 MB / 474.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 () * 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.003974/0.7167, allocations: 2.08 MB / 0.6632 GB, free: 6.066 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.7191, allocations: 0.9931 MB / 0.6641 GB, free: 5.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7191, allocations: 0 / 0.6641 GB, free: 5.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.7207, allocations: 0.7005 MB / 0.6648 GB, free: 4.266 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.721, allocations: 21.34 kB / 0.6648 GB, free: 4.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.7227, allocations: 0.7138 MB / 0.6655 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.7232, allocations: 0.8188 MB / 0.6663 GB, free: 2.656 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.7233, allocations: 31.28 kB / 0.6664 GB, free: 2.629 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.7235, allocations: 136.3 kB / 0.6665 GB, free: 2.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7235, allocations: 0 / 0.6665 GB, free: 2.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.7588, allocations: 9.858 MB / 0.6761 GB, free: 8.758 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.759, allocations: 156.3 kB / 0.6763 GB, free: 8.562 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.133, allocations: 0 / 0.6763 GB, free: 8.562 MB / 490.7 MB (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)