Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009875/0.0009874, allocations: 172.7 kB / 16.11 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.3 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007317/0.0007317, allocations: 91.8 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2888/0.2888, allocations: 42.28 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 16 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 57.57 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.432, allocations: 86.46 MB / 0.56 GB, free: 5.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4323, allocations: 79.95 kB / 0.5601 GB, free: 5.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01858/0.4509, allocations: 7.72 MB / 0.5676 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4509, allocations: 4 kB / 0.5676 GB, free: 13.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.4509, allocations: 4 kB / 0.5676 GB, free: 13.48 MB / 394.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.001974/0.4529, allocations: 0.8267 MB / 0.5684 GB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4529, allocations: 12.03 kB / 0.5685 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.454, allocations: 184.2 kB / 0.5686 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.4545, allocations: 335.9 kB / 0.569 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.4546, allocations: 93.08 kB / 0.569 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.4547, allocations: 20 kB / 0.5691 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.4555, allocations: 395.4 kB / 0.5694 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4555, allocations: 0 / 0.5694 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.4555, allocations: 15.98 kB / 0.5695 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4555, allocations: 4 kB / 0.5695 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.4563, allocations: 390 kB / 0.5698 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.4582, allocations: 1.045 MB / 0.5708 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006864/0.4651, allocations: 1.83 MB / 0.5726 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.4657, allocations: 280.8 kB / 0.5729 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.4658, allocations: 8 kB / 0.5729 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4658, allocations: 30.56 kB / 0.5729 GB, free: 7.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.484e-06/0.4658, allocations: 4 kB / 0.5729 GB, free: 7.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.006969/0.4728, allocations: 2.385 MB / 0.5753 GB, free: 5.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4728, allocations: 57.19 kB / 0.5753 GB, free: 5.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.4732, allocations: 324.5 kB / 0.5756 GB, free: 5.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.4733, allocations: 29.7 kB / 0.5757 GB, free: 4.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4734, allocations: 184.7 kB / 0.5758 GB, free: 4.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4735, allocations: 114.3 kB / 0.576 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.4736, allocations: 4 kB / 0.576 GB, free: 4.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4737, allocations: 346.8 kB / 0.5763 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.4742, allocations: 240.5 kB / 0.5765 GB, free: 4.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.4747, allocations: 252.9 kB / 0.5768 GB, free: 3.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4757, allocations: 0.4989 MB / 0.5772 GB, free: 3.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4758, allocations: 3.938 kB / 0.5772 GB, free: 3.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004322/0.4801, allocations: 1.499 MB / 0.5787 GB, free: 1.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4801, allocations: 7.984 kB / 0.5787 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4801, allocations: 4 kB / 0.5787 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/0.4835, allocations: 0.8773 MB / 0.5796 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.4838, allocations: 35.92 kB / 0.5796 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/0.4903, allocations: 3.059 MB / 0.5826 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.4909, allocations: 59.81 kB / 0.5827 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.4909, allocations: 8 kB / 0.5827 GB, free: 13.65 MB / 410.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.0002842/0.4912, allocations: 149.8 kB / 0.5828 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/0.4913, allocations: 35.53 kB / 0.5828 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.4955, allocations: 1.45 MB / 0.5843 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4956, allocations: 4 kB / 0.5843 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4956, allocations: 4 kB / 0.5843 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4956, allocations: 3.938 kB / 0.5843 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/0.4964, allocations: 0.5135 MB / 0.5848 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4964, allocations: 0 / 0.5848 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.4966, allocations: 27.98 kB / 0.5848 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/0.4992, allocations: 0.7987 MB / 0.5856 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.4992, allocations: 8 kB / 0.5856 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004416/0.5037, allocations: 2.646 MB / 0.5882 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5037, allocations: 0 / 0.5882 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/0.5084, allocations: 1.856 MB / 0.59 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.5086, allocations: 116.7 kB / 0.5901 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.5086, allocations: 11.94 kB / 0.5901 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.5091, allocations: 47.58 kB / 0.5902 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.5094, allocations: 83.91 kB / 0.5902 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.5094, allocations: 11.94 kB / 0.5902 GB, free: 5.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.5097, allocations: 231 kB / 0.5905 GB, free: 5.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5097, allocations: 0 / 0.5905 GB, free: 5.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005844/0.5103, allocations: 151.8 kB / 0.5906 GB, free: 5.262 MB / 410.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.0002315/0.5105, allocations: 123.2 kB / 0.5907 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00377/0.5143, allocations: 1.075 MB / 0.5918 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5144, allocations: 0 / 0.5918 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002683/0.5171, allocations: 0.8027 MB / 0.5926 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.5178, allocations: 25.44 kB / 0.5926 GB, free: 3.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008482/0.5263, allocations: 1.197 MB / 0.5938 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.5267, allocations: 0.787 MB / 0.5945 GB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.5269, allocations: 17.95 kB / 0.5945 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.527, allocations: 19.44 kB / 0.5946 GB, free: 1.043 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.527, allocations: 0 / 0.5946 GB, free: 1.043 MB / 410.7 MB Notification: Performance of Templates: time 0.01728/0.5443, allocations: 7.053 MB / 0.6014 GB, free: 10 MB / 426.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)