Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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) 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(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.349/1.349, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007801/0.0007801, allocations: 74.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.333e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08188, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.3944, allocations: 113.2 MB / 483.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.3947, allocations: 86.52 kB / 483.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1573/0.552, allocations: 58.41 MB / 0.529 GB, free: 2.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.552, allocations: 3.938 kB / 0.529 GB, free: 2.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002483/0.5523, allocations: 83.88 kB / 0.5291 GB, free: 2.672 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.2205/0.7728, allocations: 2.889 MB / 0.5319 GB, free: 92.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.7728, allocations: 9.094 kB / 0.532 GB, free: 92.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.7748, allocations: 400.5 kB / 0.5323 GB, free: 91.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004782/0.7796, allocations: 2.158 MB / 0.5344 GB, free: 91.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.7798, allocations: 215.9 kB / 0.5346 GB, free: 91.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.7802, allocations: 287 kB / 0.5349 GB, free: 91.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00583/0.786, allocations: 3.603 MB / 0.5384 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.599e-05/0.7861, allocations: 9.062 kB / 0.5384 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.7864, allocations: 125.3 kB / 0.5386 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.7865, allocations: 133.4 kB / 0.5387 GB, free: 91.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004606/0.7911, allocations: 2.872 MB / 0.5415 GB, free: 91.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.8087, allocations: 11.68 MB / 0.5529 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.811, allocations: 1.949 MB / 0.5548 GB, free: 87.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.8122, allocations: 0.9275 MB / 0.5557 GB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.8125, allocations: 220 kB / 0.5559 GB, free: 87.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8125, allocations: 49.59 kB / 0.556 GB, free: 87.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.587e-06/0.8125, allocations: 3.312 kB / 0.556 GB, free: 87.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=149): time 0.01138/0.8239, allocations: 6.376 MB / 0.5622 GB, free: 85.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.824, allocations: 74.67 kB / 0.5623 GB, free: 85.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.8264, allocations: 1.713 MB / 0.5639 GB, free: 84.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.8266, allocations: 52.27 kB / 0.564 GB, free: 84.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007264/0.8273, allocations: 1.402 MB / 0.5654 GB, free: 83.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.8276, allocations: 0.5114 MB / 0.5659 GB, free: 82.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.8277, allocations: 41.19 kB / 0.5659 GB, free: 82.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.8278, allocations: 377.9 kB / 0.5663 GB, free: 82.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.8289, allocations: 0.856 MB / 0.5671 GB, free: 82.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.8301, allocations: 1.395 MB / 0.5685 GB, free: 81.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.8314, allocations: 1.095 MB / 0.5695 GB, free: 80.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8314, allocations: 7.875 kB / 0.5695 GB, free: 80.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004037/0.8354, allocations: 2.988 MB / 0.5725 GB, free: 79.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.8355, allocations: 10.88 kB / 0.5725 GB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.8355, allocations: 18.81 kB / 0.5725 GB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.8367, allocations: 0.5486 MB / 0.573 GB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.8382, allocations: 439.2 kB / 0.5734 GB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.8439, allocations: 6.268 MB / 0.5796 GB, free: 75.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.8457, allocations: 140.3 kB / 0.5797 GB, free: 75.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.8458, allocations: 79.06 kB / 0.5798 GB, free: 75.65 MB / 410.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 (209): * Single equations (assignments): 206 * 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.0002825/0.8461, allocations: 218.3 kB / 0.58 GB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.8464, allocations: 208.8 kB / 0.5802 GB, free: 75.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.8503, allocations: 2.625 MB / 0.5827 GB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.8503, allocations: 15.28 kB / 0.5828 GB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.8503, allocations: 10.2 kB / 0.5828 GB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.8504, allocations: 6.375 kB / 0.5828 GB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/0.8582, allocations: 5.715 MB / 0.5883 GB, free: 72.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8582, allocations: 3.562 kB / 0.5884 GB, free: 72.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/0.8592, allocations: 262.2 kB / 0.5886 GB, free: 72.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.8605, allocations: 0.5847 MB / 0.5892 GB, free: 71.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.796e-05/0.8606, allocations: 39.02 kB / 0.5892 GB, free: 71.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006718/0.8673, allocations: 7.984 MB / 0.597 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8674, allocations: 7.312 kB / 0.597 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/0.8724, allocations: 4.031 MB / 0.6009 GB, free: 64.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/0.8733, allocations: 489.5 kB / 0.6014 GB, free: 64.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.8735, allocations: 30.5 kB / 0.6014 GB, free: 64.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.8745, allocations: 104.4 kB / 0.6015 GB, free: 64.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.8747, allocations: 106.2 kB / 0.6016 GB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.8748, allocations: 45.58 kB / 0.6017 GB, free: 64.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001557/0.8764, allocations: 1.312 MB / 0.603 GB, free: 63.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.8764, allocations: 4 kB / 0.603 GB, free: 63.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001604/0.878, allocations: 0.6199 MB / 0.6036 GB, free: 63.11 MB / 410.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 (124): * Single equations (assignments): 121 * 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.0004955/0.8785, allocations: 389.1 kB / 0.604 GB, free: 62.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.8815, allocations: 2.575 MB / 0.6065 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8815, allocations: 0.875 kB / 0.6065 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.8833, allocations: 1.583 MB / 0.608 GB, free: 58.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.8852, allocations: 497.8 kB / 0.6085 GB, free: 58.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.8914, allocations: 4.62 MB / 0.613 GB, free: 54.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.8928, allocations: 2.27 MB / 0.6152 GB, free: 52.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001376/0.8942, allocations: 0.492 MB / 0.6157 GB, free: 52.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.8946, allocations: 153.9 kB / 0.6158 GB, free: 52.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.8946, allocations: 4 kB / 0.6158 GB, free: 52.13 MB / 410.7 MB Notification: Performance of Templates: time 0.04441/0.939, allocations: 33.28 MB / 0.6483 GB, free: 26.13 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_VoltageSource/SMPM_VoltageSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches