Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001043/0.001043, allocations: 175.7 kB / 16.11 MB, free: 5.566 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.469/1.469, allocations: 205.4 MB / 222.3 MB, free: 13.76 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.0007842/0.000784, allocations: 86.31 kB / 270.6 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.161/0.161, allocations: 42.31 MB / 361.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006379, allocations: 21 kB / 429.4 MB, free: 21.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1081, allocations: 57.54 MB / 487 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.462, allocations: 86.48 MB / 0.56 GB, free: 1.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.4623, allocations: 77.89 kB / 0.5601 GB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.4814, allocations: 7.73 MB / 0.5676 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4815, allocations: 224 / 0.5676 GB, free: 10.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.4815, allocations: 7.938 kB / 0.5676 GB, free: 10.98 MB / 378.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.002183/0.4837, allocations: 0.8223 MB / 0.5684 GB, free: 10.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4837, allocations: 8.031 kB / 0.5684 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.4848, allocations: 186.3 kB / 0.5686 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.4853, allocations: 340.3 kB / 0.5689 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.4854, allocations: 87.45 kB / 0.569 GB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.4855, allocations: 23 kB / 0.5691 GB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.4863, allocations: 394.7 kB / 0.5694 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4863, allocations: 0 / 0.5694 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.4863, allocations: 7.875 kB / 0.5694 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4863, allocations: 16 kB / 0.5695 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.4871, allocations: 382.9 kB / 0.5698 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.489, allocations: 1.056 MB / 0.5708 GB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/0.4955, allocations: 1.824 MB / 0.5726 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.4961, allocations: 294.7 kB / 0.5729 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.4962, allocations: 0 / 0.5729 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4962, allocations: 34.56 kB / 0.5729 GB, free: 6.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.4962, allocations: 0 / 0.5729 GB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.006974/0.5032, allocations: 2.39 MB / 0.5753 GB, free: 4.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.5033, allocations: 55.41 kB / 0.5753 GB, free: 3.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.5037, allocations: 316.4 kB / 0.5756 GB, free: 3.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.5037, allocations: 33.58 kB / 0.5757 GB, free: 3.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.5039, allocations: 184.8 kB / 0.5758 GB, free: 3.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.504, allocations: 109.2 kB / 0.5759 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.504, allocations: 6.562 kB / 0.576 GB, free: 3.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5042, allocations: 345.1 kB / 0.5763 GB, free: 3.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.5047, allocations: 243.1 kB / 0.5765 GB, free: 2.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.5051, allocations: 248.3 kB / 0.5767 GB, free: 2.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.5061, allocations: 0.506 MB / 0.5772 GB, free: 2.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5061, allocations: 3.938 kB / 0.5772 GB, free: 2.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004115/0.5102, allocations: 1.495 MB / 0.5787 GB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5103, allocations: 4 kB / 0.5787 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5103, allocations: 0 / 0.5787 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.5133, allocations: 0.8834 MB / 0.5796 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.5135, allocations: 27.98 kB / 0.5796 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.5188, allocations: 3.07 MB / 0.5826 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.5194, allocations: 63.59 kB / 0.5827 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.5194, allocations: 11.8 kB / 0.5827 GB, free: 13.66 MB / 394.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.0002219/0.5196, allocations: 143.9 kB / 0.5828 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.5197, allocations: 35.62 kB / 0.5828 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.5236, allocations: 1.447 MB / 0.5843 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5236, allocations: 0 / 0.5843 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5236, allocations: 4.125 kB / 0.5843 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5236, allocations: 15.92 kB / 0.5843 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.5242, allocations: 0.5086 MB / 0.5848 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5242, allocations: 7.938 kB / 0.5848 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.5244, allocations: 27.98 kB / 0.5848 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/0.527, allocations: 0.7934 MB / 0.5856 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.527, allocations: 7.875 kB / 0.5856 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.5312, allocations: 2.653 MB / 0.5882 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5312, allocations: 4 kB / 0.5882 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/0.5357, allocations: 1.837 MB / 0.59 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.5359, allocations: 119.2 kB / 0.5901 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.5359, allocations: 7.25 kB / 0.5901 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.5363, allocations: 43.34 kB / 0.5901 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.5366, allocations: 90.14 kB / 0.5902 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.5366, allocations: 11.69 kB / 0.5902 GB, free: 6.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.5369, allocations: 225.6 kB / 0.5905 GB, free: 6.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.074e-06/0.5369, allocations: 0 / 0.5905 GB, free: 6.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.5374, allocations: 154.3 kB / 0.5906 GB, free: 6.66 MB / 394.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.0002009/0.5376, allocations: 126.1 kB / 0.5907 GB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.54, allocations: 1.076 MB / 0.5918 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.54, allocations: 4 kB / 0.5918 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.5416, allocations: 0.798 MB / 0.5926 GB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.5421, allocations: 30.17 kB / 0.5926 GB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.5482, allocations: 1.202 MB / 0.5938 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.5486, allocations: 0.787 MB / 0.5945 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.5487, allocations: 21.94 kB / 0.5945 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.5488, allocations: 19.44 kB / 0.5946 GB, free: 2.805 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5488, allocations: 0 / 0.5946 GB, free: 2.805 MB / 394.7 MB Notification: Performance of Templates: time 0.01153/0.5603, allocations: 7.053 MB / 0.6014 GB, free: 11.77 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)