Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009526/0.0009525, allocations: 170.1 kB / 16.11 MB, free: 5.582 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.448/1.448, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0007741/0.0007741, allocations: 89.44 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.3108/0.3108, allocations: 42.29 MB / 361.2 MB, free: 49.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004161, allocations: 12 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 57.57 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4512, allocations: 87.18 MB / 0.5607 GB, free: 4.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4515, allocations: 79.95 kB / 0.5608 GB, free: 4.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02545/0.477, allocations: 9.223 MB / 0.5698 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.477, allocations: 1.312 kB / 0.5698 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.087e-05/0.477, allocations: 8 kB / 0.5698 GB, free: 11.25 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002748/0.4798, allocations: 0.9541 MB / 0.5707 GB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.4799, allocations: 12.03 kB / 0.5707 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.481, allocations: 184.2 kB / 0.5709 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.4817, allocations: 418 kB / 0.5713 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.4819, allocations: 89.08 kB / 0.5714 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.482, allocations: 28 kB / 0.5714 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.4829, allocations: 440.6 kB / 0.5719 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4829, allocations: 0 / 0.5719 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4829, allocations: 8 kB / 0.5719 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.483, allocations: 8 kB / 0.5719 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.4838, allocations: 410.1 kB / 0.5723 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.4861, allocations: 1.162 MB / 0.5734 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006826/0.4929, allocations: 1.833 MB / 0.5752 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006761/0.4936, allocations: 311 kB / 0.5755 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.101e-05/0.4937, allocations: 4 kB / 0.5755 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4938, allocations: 34.56 kB / 0.5755 GB, free: 5.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.4938, allocations: 0 / 0.5755 GB, free: 5.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.007481/0.5013, allocations: 2.413 MB / 0.5779 GB, free: 2.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.5013, allocations: 51.41 kB / 0.5779 GB, free: 2.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.502, allocations: 417.7 kB / 0.5783 GB, free: 2.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.5021, allocations: 41.64 kB / 0.5784 GB, free: 2.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5023, allocations: 212.5 kB / 0.5786 GB, free: 1.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.5024, allocations: 123.3 kB / 0.5787 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.5025, allocations: 4 kB / 0.5787 GB, free: 1.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5027, allocations: 358.7 kB / 0.579 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.5032, allocations: 267.9 kB / 0.5793 GB, free: 1.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.5038, allocations: 267.7 kB / 0.5795 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.505, allocations: 0.5439 MB / 0.5801 GB, free: 448 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.505, allocations: 4 kB / 0.5801 GB, free: 444 kB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004646/0.5096, allocations: 1.611 MB / 0.5816 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.5097, allocations: 4 kB / 0.5817 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5097, allocations: 0 / 0.5817 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003577/0.5133, allocations: 1.01 MB / 0.5826 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.5136, allocations: 35.92 kB / 0.5827 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.5205, allocations: 3.294 MB / 0.5859 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.5211, allocations: 67.66 kB / 0.586 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.5212, allocations: 10.38 kB / 0.586 GB, free: 10.25 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 (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.0002842/0.5215, allocations: 153.8 kB / 0.5861 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.5216, allocations: 43.47 kB / 0.5862 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.5256, allocations: 1.464 MB / 0.5876 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5257, allocations: 4 kB / 0.5876 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5257, allocations: 3.938 kB / 0.5876 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.5257, allocations: 3.984 kB / 0.5876 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.5266, allocations: 0.5555 MB / 0.5881 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.5266, allocations: 0 / 0.5881 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.5269, allocations: 35.92 kB / 0.5882 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/0.5293, allocations: 0.7558 MB / 0.5889 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.5293, allocations: 4 kB / 0.5889 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.5337, allocations: 2.539 MB / 0.5914 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5337, allocations: 4.031 kB / 0.5914 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/0.5383, allocations: 1.862 MB / 0.5932 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.5385, allocations: 136.5 kB / 0.5933 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.5386, allocations: 8 kB / 0.5934 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.539, allocations: 43.95 kB / 0.5934 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.5393, allocations: 91.91 kB / 0.5935 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.5393, allocations: 12 kB / 0.5935 GB, free: 2.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.5398, allocations: 311.1 kB / 0.5938 GB, free: 1.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5398, allocations: 0 / 0.5938 GB, free: 1.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006516/0.5404, allocations: 159.8 kB / 0.5939 GB, free: 1.816 MB / 410.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.0002356/0.5407, allocations: 127.1 kB / 0.5941 GB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.5436, allocations: 1.238 MB / 0.5953 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5437, allocations: 0 / 0.5953 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.5455, allocations: 0.8301 MB / 0.5961 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.5459, allocations: 31 kB / 0.5961 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.5478, allocations: 1.153 MB / 0.5972 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5483, allocations: 0.8188 MB / 0.598 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.5484, allocations: 30.95 kB / 0.5981 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5486, allocations: 27.38 kB / 0.5981 GB, free: 13.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.464e-06/0.5486, allocations: 0 / 0.5981 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01369/0.5623, allocations: 7.785 MB / 0.6057 GB, free: 5.637 MB / 426.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)