Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001427, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 93.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.091e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3291, allocations: 47.57 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.5099, allocations: 112.8 MB / 475.2 MB, free: 5.418 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.5102, allocations: 83.95 kB / 475.3 MB, free: 5.336 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6248/1.135, allocations: 81.94 MB / 0.5441 GB, free: 94.87 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.434e-06/1.135, allocations: 3.938 kB / 0.5441 GB, free: 94.87 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002433/1.135, allocations: 70.19 kB / 0.5442 GB, free: 94.85 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.008583/1.144, allocations: 2.624 MB / 0.5468 GB, free: 93.14 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.144, allocations: 6.875 kB / 0.5468 GB, free: 93.14 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/1.146, allocations: 420.6 kB / 0.5472 GB, free: 92.95 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005588/1.152, allocations: 1.833 MB / 0.549 GB, free: 91.71 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/1.152, allocations: 90.28 kB / 0.5491 GB, free: 91.71 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006243/1.153, allocations: 145.3 kB / 0.5492 GB, free: 91.7 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006136/1.159, allocations: 2.316 MB / 0.5515 GB, free: 90.58 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/1.166, allocations: 2.78 MB / 0.5542 GB, free: 87.84 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.364e-05/1.166, allocations: 7.906 kB / 0.5542 GB, free: 87.83 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/1.166, allocations: 4 kB / 0.5542 GB, free: 87.83 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/1.167, allocations: 108.9 kB / 0.5543 GB, free: 87.72 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02278/1.189, allocations: 9.97 MB / 0.564 GB, free: 77.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/1.192, allocations: 1.738 MB / 0.5657 GB, free: 75.66 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/1.194, allocations: 0.8241 MB / 0.5665 GB, free: 74.84 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/1.194, allocations: 227.2 kB / 0.5667 GB, free: 74.58 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.194, allocations: 47.88 kB / 0.5668 GB, free: 74.53 MB / 395.1 MB Notification: Performance of pre-optimization done (n=120): time 4.097e-06/1.194, allocations: 4 kB / 0.5668 GB, free: 74.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=145): time 0.01541/1.21, allocations: 5.42 MB / 0.5721 GB, free: 69.07 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/1.21, allocations: 68.72 kB / 0.5722 GB, free: 68.99 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/1.213, allocations: 1.367 MB / 0.5735 GB, free: 67.62 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002984/1.213, allocations: 25.7 kB / 0.5735 GB, free: 67.59 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007887/1.214, allocations: 1.197 MB / 0.5747 GB, free: 66.38 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/1.214, allocations: 480.8 kB / 0.5751 GB, free: 65.9 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/1.214, allocations: 0 / 0.5751 GB, free: 65.9 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/1.214, allocations: 394.7 kB / 0.5755 GB, free: 65.51 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/1.216, allocations: 0.7692 MB / 0.5763 GB, free: 64.74 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.218, allocations: 1.26 MB / 0.5775 GB, free: 63.27 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/1.22, allocations: 0.9782 MB / 0.5785 GB, free: 62.29 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.22, allocations: 4 kB / 0.5785 GB, free: 62.28 MB / 395.1 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006059/1.226, allocations: 2.559 MB / 0.581 GB, free: 59.71 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.226, allocations: 12 kB / 0.581 GB, free: 59.7 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/1.226, allocations: 16 kB / 0.581 GB, free: 59.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/1.228, allocations: 0.5797 MB / 0.5816 GB, free: 59.1 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/1.231, allocations: 415.3 kB / 0.5819 GB, free: 58.69 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009872/1.241, allocations: 5.204 MB / 0.587 GB, free: 53.38 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.244, allocations: 99.78 kB / 0.5871 GB, free: 53.28 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/1.244, allocations: 79.98 kB / 0.5872 GB, free: 53.2 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004168/1.245, allocations: 160.4 kB / 0.5874 GB, free: 53.04 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/1.245, allocations: 177.8 kB / 0.5875 GB, free: 52.86 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005921/1.251, allocations: 2.391 MB / 0.5899 GB, free: 50.45 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.251, allocations: 12 kB / 0.5899 GB, free: 50.44 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.251, allocations: 8 kB / 0.5899 GB, free: 50.43 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/1.251, allocations: 7.969 kB / 0.5899 GB, free: 50.42 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.264, allocations: 4.965 MB / 0.5947 GB, free: 45.39 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/1.264, allocations: 7.953 kB / 0.5947 GB, free: 45.38 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.266, allocations: 256.1 kB / 0.595 GB, free: 45.13 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002867/1.269, allocations: 0.6416 MB / 0.5956 GB, free: 44.48 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/1.269, allocations: 15.98 kB / 0.5956 GB, free: 44.46 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.28, allocations: 6.874 MB / 0.6023 GB, free: 37.37 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.281, allocations: 11.88 kB / 0.6024 GB, free: 37.36 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/1.289, allocations: 3.791 MB / 0.6061 GB, free: 33.41 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.29, allocations: 442.8 kB / 0.6065 GB, free: 32.95 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/1.291, allocations: 15.94 kB / 0.6065 GB, free: 32.94 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.293, allocations: 95.88 kB / 0.6066 GB, free: 32.84 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/1.294, allocations: 117.1 kB / 0.6067 GB, free: 32.73 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.294, allocations: 43.98 kB / 0.6067 GB, free: 32.68 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002129/1.296, allocations: 1.036 MB / 0.6077 GB, free: 31.65 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.296, allocations: 0 / 0.6077 GB, free: 31.65 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003105/1.299, allocations: 0.5312 MB / 0.6083 GB, free: 31.12 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008005/1.3, allocations: 331.6 kB / 0.6086 GB, free: 30.82 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005476/1.306, allocations: 2.391 MB / 0.6109 GB, free: 28.38 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.306, allocations: 2.438 kB / 0.6109 GB, free: 28.38 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003692/1.309, allocations: 1.522 MB / 0.6124 GB, free: 26.83 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.313, allocations: 313.6 kB / 0.6127 GB, free: 26.52 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.323, allocations: 4.137 MB / 0.6167 GB, free: 22.3 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/1.325, allocations: 2.049 MB / 0.6187 GB, free: 20.21 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/1.326, allocations: 135.4 kB / 0.6189 GB, free: 20.08 MB / 395.1 MB Notification: Performance of SimCode: time 1.172e-06/1.326, allocations: 0 / 0.6189 GB, free: 20.08 MB / 395.1 MB Notification: Performance of Templates: time 0.4126/1.739, allocations: 54.65 MB / 0.6722 GB, free: 101.5 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches