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.009928/0.009928, allocations: 164.8 kB / 15.11 MB, free: 5.973 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.187/1.187, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001791/0.001791, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 38.78 MB / 312.9 MB, free: 38.82 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.3172, allocations: 103.1 MB / 416 MB, free: 3.363 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.3175, allocations: 87.95 kB / 416.1 MB, free: 3.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3082/0.6258, allocations: 56.27 MB / 472.3 MB, free: 53.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6258, allocations: 0 / 472.3 MB, free: 53.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003021/0.6262, allocations: 87.8 kB / 472.4 MB, free: 53 MB / 314.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.008009/0.6342, allocations: 3.131 MB / 475.6 MB, free: 49.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.6342, allocations: 8.031 kB / 475.6 MB, free: 49.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.6362, allocations: 399.6 kB / 476 MB, free: 49.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/0.641, allocations: 1.914 MB / 477.9 MB, free: 47.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.6412, allocations: 213.7 kB / 478.1 MB, free: 47.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007374/0.642, allocations: 279.9 kB / 478.4 MB, free: 46.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/0.6484, allocations: 3.656 MB / 482 MB, free: 43.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-05/0.6485, allocations: 11.83 kB / 482 MB, free: 43.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.6488, allocations: 124 kB / 482.1 MB, free: 43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.6489, allocations: 129.5 kB / 482.3 MB, free: 42.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.6538, allocations: 2.93 MB / 485.2 MB, free: 39.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.6719, allocations: 11.52 MB / 496.7 MB, free: 28.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.6742, allocations: 1.925 MB / 498.6 MB, free: 26.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.6745, allocations: 142 kB / 498.8 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6745, allocations: 51.56 kB / 498.8 MB, free: 25.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 4.138e-06/0.6745, allocations: 0 / 498.8 MB, free: 25.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.01361/0.6881, allocations: 7.527 MB / 0.4945 GB, free: 18.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.6882, allocations: 68.72 kB / 0.4946 GB, free: 18.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.6906, allocations: 1.564 MB / 0.4961 GB, free: 16.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.6908, allocations: 49.7 kB / 0.4961 GB, free: 16.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.6915, allocations: 1.377 MB / 0.4975 GB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.6919, allocations: 0.5045 MB / 0.498 GB, free: 14.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.692, allocations: 36 kB / 0.498 GB, free: 14.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.6921, allocations: 377.9 kB / 0.4984 GB, free: 14.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.6933, allocations: 0.8784 MB / 0.4992 GB, free: 13.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.6945, allocations: 1.407 MB / 0.5006 GB, free: 11.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.6959, allocations: 1.103 MB / 0.5017 GB, free: 10.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.6959, allocations: 4 kB / 0.5017 GB, free: 10.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00438/0.7003, allocations: 3.012 MB / 0.5046 GB, free: 7.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.7003, allocations: 18.25 kB / 0.5046 GB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.7004, allocations: 20 kB / 0.5047 GB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.7016, allocations: 0.55 MB / 0.5052 GB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.7032, allocations: 439.3 kB / 0.5056 GB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/0.7094, allocations: 6.484 MB / 0.5119 GB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.7115, allocations: 131.9 kB / 0.5121 GB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.7118, allocations: 87.98 kB / 0.5122 GB, free: 15.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (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.002155/0.7139, allocations: 0.8992 MB / 0.513 GB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005708/0.7145, allocations: 209.5 kB / 0.5132 GB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.7194, allocations: 2.644 MB / 0.5158 GB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.7195, allocations: 12 kB / 0.5158 GB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.7195, allocations: 8 kB / 0.5158 GB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.7195, allocations: 7.969 kB / 0.5158 GB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.7306, allocations: 5.638 MB / 0.5213 GB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7307, allocations: 0 / 0.5213 GB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.7318, allocations: 251.6 kB / 0.5216 GB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.7333, allocations: 0.5924 MB / 0.5222 GB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.7334, allocations: 31.98 kB / 0.5222 GB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008986/0.7424, allocations: 8.228 MB / 0.5302 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7425, allocations: 4 kB / 0.5302 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/0.7488, allocations: 4.005 MB / 0.5341 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.7502, allocations: 466.4 kB / 0.5346 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.7505, allocations: 35.98 kB / 0.5346 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009413/0.7514, allocations: 95.88 kB / 0.5347 GB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.7517, allocations: 109.1 kB / 0.5348 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.7518, allocations: 43.98 kB / 0.5349 GB, free: 7.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001868/0.7537, allocations: 1.196 MB / 0.536 GB, free: 6.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7537, allocations: 0 / 0.536 GB, free: 6.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002088/0.7558, allocations: 0.6016 MB / 0.5366 GB, free: 5.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * 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.0006399/0.7564, allocations: 404.9 kB / 0.537 GB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004182/0.7606, allocations: 2.644 MB / 0.5396 GB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7606, allocations: 0 / 0.5396 GB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.763, allocations: 1.597 MB / 0.5411 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.7653, allocations: 471.5 kB / 0.5416 GB, free: 484 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1778/0.9431, allocations: 6.623 MB / 0.5481 GB, free: 79.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/0.9455, allocations: 2.252 MB / 0.5503 GB, free: 79.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001959/0.9475, allocations: 484 kB / 0.5507 GB, free: 79.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.9479, allocations: 129.2 kB / 0.5508 GB, free: 79.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9479, allocations: 0 / 0.5508 GB, free: 79.06 MB / 346.7 MB Notification: Performance of Templates: time 0.05453/1.002, allocations: 30.59 MB / 0.5807 GB, free: 76.89 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)