Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001488/0.001488, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.311/1.311, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001613/0.001613, allocations: 116.7 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.648e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07686/0.07689, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.3516, allocations: 104.3 MB / 446.9 MB, free: 7.898 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3519, allocations: 82.33 kB / 447 MB, free: 7.855 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.144/0.4959, allocations: 52.16 MB / 499.2 MB, free: 10.73 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.496, allocations: 0 / 499.2 MB, free: 10.73 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0002481/0.4962, allocations: 71.88 kB / 499.2 MB, free: 10.66 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.006383/0.5026, allocations: 2.575 MB / 0.49 GB, free: 8.035 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5027, allocations: 8.031 kB / 0.4901 GB, free: 8.027 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.5041, allocations: 348.1 kB / 0.4904 GB, free: 7.684 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/0.5087, allocations: 1.908 MB / 0.4923 GB, free: 5.719 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.5088, allocations: 83.95 kB / 0.4923 GB, free: 5.637 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005547/0.5094, allocations: 144 kB / 0.4925 GB, free: 5.496 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004668/0.5141, allocations: 2.345 MB / 0.4948 GB, free: 3.145 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/0.5196, allocations: 2.813 MB / 0.4975 GB, free: 192 kB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.697e-05/0.5196, allocations: 7.906 kB / 0.4975 GB, free: 184 kB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.5199, allocations: 7.938 kB / 0.4975 GB, free: 176 kB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.52, allocations: 124.8 kB / 0.4976 GB, free: 48 kB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.5361, allocations: 9.951 MB / 0.5074 GB, free: 5.773 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.538, allocations: 1.384 MB / 0.5087 GB, free: 4.324 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.539, allocations: 0.7309 MB / 0.5094 GB, free: 3.594 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/0.5394, allocations: 223.4 kB / 0.5096 GB, free: 3.34 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.5395, allocations: 39.88 kB / 0.5097 GB, free: 3.293 MB / 395.1 MB Notification: Performance of pre-optimization done (n=106): time 2.685e-06/0.5395, allocations: 0 / 0.5097 GB, free: 3.293 MB / 395.1 MB Notification: Performance of matching and sorting (n=136): time 0.1918/0.7313, allocations: 5.155 MB / 0.5147 GB, free: 83.24 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.7314, allocations: 71.25 kB / 0.5148 GB, free: 83.18 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.7336, allocations: 1.288 MB / 0.516 GB, free: 83.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002261/0.7338, allocations: 25.7 kB / 0.5161 GB, free: 82.98 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/0.7346, allocations: 1.264 MB / 0.5173 GB, free: 82.54 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.735, allocations: 460.2 kB / 0.5177 GB, free: 82.3 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.7351, allocations: 0.5938 kB / 0.5177 GB, free: 82.3 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.7352, allocations: 371.5 kB / 0.5181 GB, free: 82 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009175/0.7362, allocations: 0.7549 MB / 0.5188 GB, free: 82 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.7373, allocations: 1.262 MB / 0.5201 GB, free: 81.4 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.7385, allocations: 0.9863 MB / 0.521 GB, free: 81.39 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.7386, allocations: 3.25 kB / 0.521 GB, free: 81.39 MB / 395.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003192/0.7418, allocations: 2.34 MB / 0.5233 GB, free: 81.21 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.7418, allocations: 12.91 kB / 0.5233 GB, free: 81.21 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.7418, allocations: 16.19 kB / 0.5233 GB, free: 81.21 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.7423, allocations: 242.4 kB / 0.5236 GB, free: 81.18 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.7438, allocations: 446.8 kB / 0.524 GB, free: 81.18 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.7455, allocations: 2.887 MB / 0.5268 GB, free: 78.79 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.7468, allocations: 92.42 kB / 0.5269 GB, free: 78.79 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.747, allocations: 76.44 kB / 0.527 GB, free: 78.79 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 207 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002547/0.7472, allocations: 154.3 kB / 0.5271 GB, free: 78.68 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.7475, allocations: 177.2 kB / 0.5273 GB, free: 78.58 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.7502, allocations: 2.02 MB / 0.5293 GB, free: 78.45 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7502, allocations: 13.22 kB / 0.5293 GB, free: 78.45 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7503, allocations: 4.031 kB / 0.5293 GB, free: 78.45 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.7503, allocations: 9.656 kB / 0.5293 GB, free: 78.45 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/0.7563, allocations: 4.471 MB / 0.5337 GB, free: 77.98 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.7563, allocations: 2.438 kB / 0.5337 GB, free: 77.98 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.7574, allocations: 298.1 kB / 0.5339 GB, free: 77.98 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.7579, allocations: 199.2 kB / 0.5341 GB, free: 77.95 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.758, allocations: 7.656 kB / 0.5341 GB, free: 77.95 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.7595, allocations: 2.857 MB / 0.5369 GB, free: 75.55 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7596, allocations: 4.969 kB / 0.5369 GB, free: 75.55 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.7631, allocations: 3.328 MB / 0.5402 GB, free: 74.98 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/0.764, allocations: 428.5 kB / 0.5406 GB, free: 74.8 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/0.7643, allocations: 6.844 kB / 0.5406 GB, free: 74.8 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009164/0.7652, allocations: 75.53 kB / 0.5407 GB, free: 74.8 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7654, allocations: 93.11 kB / 0.5408 GB, free: 74.79 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/0.7655, allocations: 39.55 kB / 0.5408 GB, free: 74.79 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.767, allocations: 0.9604 MB / 0.5417 GB, free: 74.68 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.767, allocations: 0 / 0.5417 GB, free: 74.68 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001737/0.7687, allocations: 462.7 kB / 0.5422 GB, free: 74.68 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 128 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005605/0.7693, allocations: 372.6 kB / 0.5425 GB, free: 74.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.7726, allocations: 2.309 MB / 0.5448 GB, free: 74.17 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7726, allocations: 6.875 kB / 0.5448 GB, free: 74.17 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.7742, allocations: 1.348 MB / 0.5461 GB, free: 73.76 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.7763, allocations: 376.5 kB / 0.5465 GB, free: 73.75 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.7837, allocations: 3.874 MB / 0.5503 GB, free: 72.84 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.7858, allocations: 2.063 MB / 0.5523 GB, free: 71.98 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001765/0.7876, allocations: 0.5193 MB / 0.5528 GB, free: 71.93 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.788, allocations: 135.2 kB / 0.5529 GB, free: 71.93 MB / 395.1 MB Notification: Performance of SimCode: time 6.62e-07/0.788, allocations: 0 / 0.5529 GB, free: 71.93 MB / 395.1 MB Notification: Performance of Templates: time 0.03243/0.8204, allocations: 21.58 MB / 0.574 GB, free: 70.57 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)