Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.007677/0.007677, allocations: 171 kB / 15.11 MB, free: 5.969 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.369/1.369, allocations: 223.2 MB / 239 MB, free: 1.789 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.000943/0.0009428, allocations: 100.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5415/0.5415, allocations: 78.52 MB / 419.8 MB, free: 43.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 12 kB / 499.8 MB, free: 2.613 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4563, allocations: 69.35 MB / 0.5558 GB, free: 38.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.5816, allocations: 92.25 MB / 0.6459 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5819, allocations: 75.97 kB / 0.646 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02695/0.6089, allocations: 9.563 MB / 0.6553 GB, free: 4.473 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.6089, allocations: 3.938 kB / 0.6553 GB, free: 4.469 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.6089, allocations: 8 kB / 0.6553 GB, free: 4.461 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.002642/0.6116, allocations: 0.966 MB / 0.6562 GB, free: 3.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.6116, allocations: 8.031 kB / 0.6563 GB, free: 3.438 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.908e-05/0.6117, allocations: 62.48 kB / 0.6563 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.6128, allocations: 191.3 kB / 0.6565 GB, free: 3.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.6134, allocations: 389.2 kB / 0.6569 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6135, allocations: 91.89 kB / 0.657 GB, free: 2.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.6136, allocations: 28 kB / 0.657 GB, free: 2.629 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.6146, allocations: 440.9 kB / 0.6574 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6146, allocations: 0 / 0.6574 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.6146, allocations: 12 kB / 0.6574 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6147, allocations: 12 kB / 0.6574 GB, free: 2.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008157/0.6155, allocations: 406.1 kB / 0.6578 GB, free: 1.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.6177, allocations: 1.158 MB / 0.6589 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/0.6251, allocations: 1.834 MB / 0.6607 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.6252, allocations: 4 kB / 0.6607 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.6253, allocations: 38.44 kB / 0.6608 GB, free: 14.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 4.629e-06/0.6253, allocations: 0 / 0.6608 GB, free: 14.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.00726/0.6325, allocations: 2.4 MB / 0.6631 GB, free: 12.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.6326, allocations: 55.41 kB / 0.6632 GB, free: 12.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.6332, allocations: 380.8 kB / 0.6635 GB, free: 11.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.6333, allocations: 29.7 kB / 0.6636 GB, free: 11.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6334, allocations: 212.6 kB / 0.6638 GB, free: 11.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.6336, allocations: 126.2 kB / 0.6639 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.6336, allocations: 4 kB / 0.6639 GB, free: 11.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6337, allocations: 350.8 kB / 0.6642 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.6343, allocations: 263.9 kB / 0.6645 GB, free: 10.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.6348, allocations: 272.7 kB / 0.6647 GB, free: 10.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.6353, allocations: 272.6 kB / 0.665 GB, free: 10.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6353, allocations: 0 / 0.665 GB, free: 10.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00473/0.6401, allocations: 1.615 MB / 0.6666 GB, free: 8.605 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6401, allocations: 11.95 kB / 0.6666 GB, free: 8.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6401, allocations: 0 / 0.6666 GB, free: 8.594 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003643/0.6438, allocations: 1.007 MB / 0.6676 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.6441, allocations: 39.92 kB / 0.6676 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.6509, allocations: 3.404 MB / 0.6709 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.6516, allocations: 63.7 kB / 0.671 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.6516, allocations: 8 kB / 0.671 GB, free: 3.938 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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.6519, allocations: 153.8 kB / 0.6711 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.652, allocations: 43.48 kB / 0.6712 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.656, allocations: 1.472 MB / 0.6726 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.6561, allocations: 4 kB / 0.6726 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6561, allocations: 0 / 0.6726 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6561, allocations: 0 / 0.6726 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.6568, allocations: 0.5632 MB / 0.6732 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6568, allocations: 4 kB / 0.6732 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.6571, allocations: 39.91 kB / 0.6732 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.6595, allocations: 0.7518 MB / 0.674 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.6596, allocations: 4 kB / 0.674 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.6639, allocations: 2.605 MB / 0.6765 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6639, allocations: 0 / 0.6765 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004694/0.6686, allocations: 1.88 MB / 0.6783 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.6689, allocations: 128.6 kB / 0.6785 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.669, allocations: 7.984 kB / 0.6785 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/0.6695, allocations: 47.91 kB / 0.6785 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.6698, allocations: 91.81 kB / 0.6786 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6698, allocations: 12 kB / 0.6786 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003917/0.6702, allocations: 303.2 kB / 0.6789 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6702, allocations: 4 kB / 0.6789 GB, free: 11.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005914/0.6708, allocations: 155.8 kB / 0.6791 GB, free: 11.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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.005053/0.6759, allocations: 2.442 MB / 0.6814 GB, free: 8.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.6789, allocations: 1.226 MB / 0.6826 GB, free: 7.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.679, allocations: 0 / 0.6826 GB, free: 7.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.6808, allocations: 0.8184 MB / 0.6834 GB, free: 6.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.6812, allocations: 35.06 kB / 0.6835 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.6903, allocations: 4.254 MB / 0.6876 GB, free: 2.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.6908, allocations: 0.8266 MB / 0.6884 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.691, allocations: 26.98 kB / 0.6885 GB, free: 1.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.6913, allocations: 143.4 kB / 0.6886 GB, free: 1.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.572e-06/0.6913, allocations: 0 / 0.6886 GB, free: 1.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.7182, allocations: 11.61 MB / 0.6999 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.7185, allocations: 229.4 kB / 0.7002 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.055, allocations: 6.188 kB / 0.7002 GB, free: 5.758 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)