Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001437/0.001437, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.22/1.22, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001639/0.001639, allocations: 99.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.136e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07775, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3245/0.4023, allocations: 103 MB / 410.6 MB, free: 5.719 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4027, allocations: 84.25 kB / 410.7 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.5541, allocations: 56.36 MB / 467.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5541, allocations: 0 / 467.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002618/0.5544, allocations: 87.8 kB / 467.2 MB, free: 2.469 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.2268/0.7812, allocations: 2.839 MB / 470 MB, free: 73.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.7813, allocations: 8.75 kB / 470 MB, free: 73.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.7846, allocations: 394.4 kB / 470.4 MB, free: 73.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007156/0.7918, allocations: 1.911 MB / 472.3 MB, free: 73.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.7921, allocations: 216.8 kB / 472.5 MB, free: 73.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008175/0.7929, allocations: 283 kB / 472.8 MB, free: 73.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009084/0.802, allocations: 3.599 MB / 476.4 MB, free: 72.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.8022, allocations: 12.8 kB / 476.4 MB, free: 72.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004121/0.8026, allocations: 120.7 kB / 476.5 MB, free: 72.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.8028, allocations: 134.9 kB / 476.7 MB, free: 72.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006314/0.8091, allocations: 2.863 MB / 479.5 MB, free: 72.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.8254, allocations: 11.51 MB / 491 MB, free: 70.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.8274, allocations: 1.918 MB / 492.9 MB, free: 69.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.8285, allocations: 0.9203 MB / 493.9 MB, free: 69.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.8288, allocations: 141.6 kB / 494 MB, free: 69.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8289, allocations: 46.84 kB / 494 MB, free: 69.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=126): time 3.727e-06/0.8289, allocations: 0 / 494 MB, free: 69.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.01159/0.8405, allocations: 6.32 MB / 0.4886 GB, free: 67.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8405, allocations: 72.17 kB / 0.4887 GB, free: 67.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.8429, allocations: 1.54 MB / 0.4902 GB, free: 66.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.8431, allocations: 49.45 kB / 0.4903 GB, free: 66.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.8439, allocations: 1.377 MB / 0.4916 GB, free: 65.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.8443, allocations: 0.5066 MB / 0.4921 GB, free: 65.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.8444, allocations: 37.47 kB / 0.4921 GB, free: 65.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8445, allocations: 374.1 kB / 0.4925 GB, free: 65.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.8456, allocations: 0.8476 MB / 0.4933 GB, free: 64.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.8471, allocations: 1.388 MB / 0.4947 GB, free: 63.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.8484, allocations: 1.095 MB / 0.4957 GB, free: 63.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.8485, allocations: 5.031 kB / 0.4957 GB, free: 63.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.004483/0.853, allocations: 2.966 MB / 0.4986 GB, free: 62.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.853, allocations: 16.53 kB / 0.4987 GB, free: 62.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.853, allocations: 16.16 kB / 0.4987 GB, free: 62.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.8543, allocations: 0.5486 MB / 0.4992 GB, free: 62.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.8557, allocations: 431.5 kB / 0.4996 GB, free: 62.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.8617, allocations: 6.274 MB / 0.5058 GB, free: 58.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.8635, allocations: 136.4 kB / 0.5059 GB, free: 58.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.8637, allocations: 85.42 kB / 0.506 GB, free: 58.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.864, allocations: 209.5 kB / 0.5062 GB, free: 57.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.8643, allocations: 202.6 kB / 0.5064 GB, free: 57.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.8683, allocations: 2.611 MB / 0.5089 GB, free: 56.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.8683, allocations: 12.62 kB / 0.5089 GB, free: 56.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8683, allocations: 6.438 kB / 0.5089 GB, free: 56.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.8684, allocations: 6.703 kB / 0.5089 GB, free: 56.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008667/0.877, allocations: 5.601 MB / 0.5144 GB, free: 54.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.8771, allocations: 3.969 kB / 0.5144 GB, free: 54.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.8781, allocations: 246.7 kB / 0.5146 GB, free: 54.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.8795, allocations: 0.595 MB / 0.5152 GB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.8796, allocations: 34.03 kB / 0.5153 GB, free: 54.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/0.8867, allocations: 7.961 MB / 0.523 GB, free: 48.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8867, allocations: 3.531 kB / 0.523 GB, free: 48.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.8917, allocations: 3.993 MB / 0.5269 GB, free: 45.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009673/0.8927, allocations: 468.7 kB / 0.5274 GB, free: 45.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.8929, allocations: 34.19 kB / 0.5274 GB, free: 45.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/0.8939, allocations: 94.84 kB / 0.5275 GB, free: 45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.8941, allocations: 120.2 kB / 0.5276 GB, free: 44.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/0.8942, allocations: 39.56 kB / 0.5277 GB, free: 44.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001601/0.8958, allocations: 1.176 MB / 0.5288 GB, free: 43.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8958, allocations: 0 / 0.5288 GB, free: 43.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002184/0.898, allocations: 0.6013 MB / 0.5294 GB, free: 43.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 20,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006163/0.8987, allocations: 401.1 kB / 0.5298 GB, free: 42.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.9023, allocations: 2.573 MB / 0.5323 GB, free: 40.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.9023, allocations: 2.906 kB / 0.5323 GB, free: 40.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.9043, allocations: 1.533 MB / 0.5338 GB, free: 39.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.9071, allocations: 471 kB / 0.5342 GB, free: 38.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.9148, allocations: 4.453 MB / 0.5386 GB, free: 34.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.9163, allocations: 2.261 MB / 0.5408 GB, free: 32.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001619/0.918, allocations: 479.6 kB / 0.5412 GB, free: 32.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.9183, allocations: 134.9 kB / 0.5414 GB, free: 32.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.9184, allocations: 2.516 kB / 0.5414 GB, free: 32.45 MB / 346.7 MB Notification: Performance of Templates: time 0.04696/0.9653, allocations: 31.19 MB / 0.5718 GB, free: 7.391 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)