Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 179.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.137/1.137, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001573/0.001573, allocations: 114.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002862, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07256/0.07286, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.32, allocations: 108.4 MB / 463.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.3202, allocations: 95.25 kB / 463.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1447/0.4649, allocations: 58.23 MB / 0.5095 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.465, allocations: 0 / 0.5095 GB, free: 5.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001891/0.4652, allocations: 79.88 kB / 0.5096 GB, free: 5.172 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: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.006187/0.4713, allocations: 3.248 MB / 0.5128 GB, free: 1.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4714, allocations: 8.031 kB / 0.5128 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.4724, allocations: 407.5 kB / 0.5132 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1426/0.615, allocations: 2.167 MB / 0.5153 GB, free: 85.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.6153, allocations: 212 kB / 0.5155 GB, free: 85.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008135/0.6161, allocations: 286.2 kB / 0.5158 GB, free: 85.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005958/0.6221, allocations: 3.629 MB / 0.5193 GB, free: 85.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/0.6222, allocations: 13.5 kB / 0.5193 GB, free: 85.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.6224, allocations: 120 kB / 0.5194 GB, free: 85.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.6226, allocations: 134.5 kB / 0.5196 GB, free: 85.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.6274, allocations: 2.923 MB / 0.5224 GB, free: 85.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.6449, allocations: 11.64 MB / 0.5338 GB, free: 82.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.6471, allocations: 1.95 MB / 0.5357 GB, free: 82.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.6474, allocations: 228.6 kB / 0.5359 GB, free: 81.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6474, allocations: 48.25 kB / 0.536 GB, free: 81.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.877e-06/0.6475, allocations: 0 / 0.536 GB, free: 81.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.01269/0.6602, allocations: 7.452 MB / 0.5432 GB, free: 80.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.6602, allocations: 64.09 kB / 0.5433 GB, free: 80.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.6622, allocations: 1.731 MB / 0.545 GB, free: 79.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.6623, allocations: 53.2 kB / 0.545 GB, free: 79.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/0.663, allocations: 1.403 MB / 0.5464 GB, free: 78.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.6632, allocations: 0.5062 MB / 0.5469 GB, free: 78.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.6633, allocations: 39.78 kB / 0.5469 GB, free: 78.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.6634, allocations: 383.6 kB / 0.5473 GB, free: 77.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.6644, allocations: 0.8784 MB / 0.5482 GB, free: 77.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.6656, allocations: 1.403 MB / 0.5495 GB, free: 76.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.6669, allocations: 1.118 MB / 0.5506 GB, free: 76.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6669, allocations: 3.312 kB / 0.5506 GB, free: 76.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003885/0.6708, allocations: 3.028 MB / 0.5536 GB, free: 75.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6708, allocations: 15.38 kB / 0.5536 GB, free: 75.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.6708, allocations: 21.67 kB / 0.5536 GB, free: 75.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.672, allocations: 0.546 MB / 0.5541 GB, free: 74.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.6733, allocations: 436.9 kB / 0.5546 GB, free: 74.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/0.6791, allocations: 6.479 MB / 0.5609 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.6814, allocations: 133.7 kB / 0.561 GB, free: 70.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.6817, allocations: 80.34 kB / 0.5611 GB, free: 70.75 MB / 394.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 (208): * Single equations (assignments): 205 * 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.001562/0.6833, allocations: 0.9188 MB / 0.562 GB, free: 70.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004938/0.6838, allocations: 211.4 kB / 0.5622 GB, free: 70.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.6875, allocations: 2.658 MB / 0.5648 GB, free: 69.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.6875, allocations: 19.97 kB / 0.5648 GB, free: 69.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6875, allocations: 3.438 kB / 0.5648 GB, free: 69.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.6876, allocations: 7.266 kB / 0.5648 GB, free: 69.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007807/0.6954, allocations: 5.722 MB / 0.5704 GB, free: 66.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6954, allocations: 2.25 kB / 0.5704 GB, free: 66.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009893/0.6964, allocations: 253.9 kB / 0.5707 GB, free: 66.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.6978, allocations: 0.5804 MB / 0.5712 GB, free: 66.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/0.6979, allocations: 33.36 kB / 0.5713 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/0.7047, allocations: 8.231 MB / 0.5793 GB, free: 60.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7047, allocations: 0 / 0.5793 GB, free: 60.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/0.7095, allocations: 4.034 MB / 0.5832 GB, free: 59.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.7107, allocations: 499.6 kB / 0.5837 GB, free: 58.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.7109, allocations: 31.16 kB / 0.5837 GB, free: 58.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.712, allocations: 101 kB / 0.5838 GB, free: 58.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.7122, allocations: 103.3 kB / 0.5839 GB, free: 58.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.7123, allocations: 46.03 kB / 0.584 GB, free: 58.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.7143, allocations: 1.326 MB / 0.5853 GB, free: 58.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7143, allocations: 2.969 kB / 0.5853 GB, free: 58.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002238/0.7165, allocations: 0.6111 MB / 0.5859 GB, free: 58.13 MB / 394.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 (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.0007083/0.7172, allocations: 397.3 kB / 0.5862 GB, free: 57.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.7205, allocations: 2.614 MB / 0.5888 GB, free: 56.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7205, allocations: 0.6562 kB / 0.5888 GB, free: 56.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.7224, allocations: 1.607 MB / 0.5904 GB, free: 56.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.7245, allocations: 496.9 kB / 0.5908 GB, free: 55.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00729/0.7318, allocations: 6.766 MB / 0.5975 GB, free: 50.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.7332, allocations: 2.271 MB / 0.5997 GB, free: 48.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001478/0.7347, allocations: 0.4905 MB / 0.6001 GB, free: 48.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/0.7352, allocations: 154.5 kB / 0.6003 GB, free: 48.36 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7352, allocations: 0 / 0.6003 GB, free: 48.36 MB / 394.7 MB Notification: Performance of Templates: time 0.04333/0.7785, allocations: 32.65 MB / 0.6322 GB, free: 22.45 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)