Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002669/0.002669, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2171, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01054/0.2277, allocations: 10.23 MB / 419.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.2326, allocations: 3.306 MB / 422.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006613/0.2333, allocations: 59.75 kB / 422.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2347, allocations: 0.7337 MB / 423.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2363, allocations: 0.8816 MB / 424.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.237, allocations: 427.4 kB / 424.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.2395, allocations: 2.984 MB / 427.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.2419, allocations: 2.477 MB / 430.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.2434, allocations: 1.367 MB / 431.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.2451, allocations: 1.705 MB / 433.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.2455, allocations: 355.9 kB / 433.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.2462, allocations: 463.8 kB / 434.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008893/0.2471, allocations: 1.017 MB / 435.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.2484, allocations: 1.618 MB / 436.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.2526, allocations: 4.701 MB / 441.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2526, allocations: 0 / 441.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2526, allocations: 0 / 441.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.153e-05/0.2527, allocations: 4 kB / 441.6 MB, free: 1.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005619/0.2583, allocations: 3.264 MB / 444.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2583, allocations: 12.03 kB / 444.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.2594, allocations: 369.1 kB / 445.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.2621, allocations: 1.772 MB / 447 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.2622, allocations: 180.8 kB / 447.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.2626, allocations: 231.9 kB / 447.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/0.2673, allocations: 3.133 MB / 450.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/0.2674, allocations: 7.984 kB / 450.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.2676, allocations: 100 kB / 450.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.2677, allocations: 104.6 kB / 450.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.2718, allocations: 2.696 MB / 453.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.2847, allocations: 9.618 MB / 463 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.2872, allocations: 2.169 MB / 465.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.289, allocations: 1.108 MB / 466.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.2892, allocations: 212.1 kB / 466.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.2893, allocations: 43.56 kB / 466.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.397e-06/0.2893, allocations: 0 / 466.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01256/0.3019, allocations: 6.847 MB / 473.4 MB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3019, allocations: 64.72 kB / 473.5 MB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.304, allocations: 1.759 MB / 475.2 MB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/0.3041, allocations: 53.7 kB / 475.3 MB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007153/0.3049, allocations: 1.163 MB / 476.4 MB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.3052, allocations: 453.5 kB / 476.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.3056, allocations: 287.3 kB / 477.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.3058, allocations: 305.1 kB / 477.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.307, allocations: 0.7964 MB / 478.2 MB, free: 11.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.3085, allocations: 1.201 MB / 479.4 MB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.3112, allocations: 2.098 MB / 481.5 MB, free: 7.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3113, allocations: 4 kB / 481.6 MB, free: 7.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004373/0.3156, allocations: 2.671 MB / 484.2 MB, free: 5.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.3157, allocations: 16.06 kB / 484.2 MB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.3157, allocations: 12 kB / 484.2 MB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.3169, allocations: 419.1 kB / 484.7 MB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.3183, allocations: 363.4 kB / 485 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.3253, allocations: 7.072 MB / 492.1 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3269, allocations: 111.7 kB / 492.2 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.327, allocations: 60 kB / 492.3 MB, free: 12.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.3283, allocations: 0.7978 MB / 493.1 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.3287, allocations: 189.8 kB / 493.2 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.3326, allocations: 2.379 MB / 495.6 MB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.3326, allocations: 19.94 kB / 495.6 MB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3326, allocations: 4 kB / 495.6 MB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.3326, allocations: 11.97 kB / 495.7 MB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007781/0.3404, allocations: 5.097 MB / 0.489 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3404, allocations: 0 / 0.489 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009828/0.3414, allocations: 235.7 kB / 0.4892 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.3426, allocations: 463.3 kB / 0.4897 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.251e-05/0.3427, allocations: 35.98 kB / 0.4897 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007832/0.3505, allocations: 8.635 MB / 0.4981 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3505, allocations: 4 kB / 0.4981 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.3557, allocations: 3.529 MB / 0.5016 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/0.3565, allocations: 430.8 kB / 0.502 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.3567, allocations: 31.98 kB / 0.502 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.3576, allocations: 87.91 kB / 0.5021 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.3579, allocations: 120.7 kB / 0.5022 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/0.358, allocations: 39.98 kB / 0.5023 GB, free: 5.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.3597, allocations: 1.207 MB / 0.5035 GB, free: 4.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3597, allocations: 4 kB / 0.5035 GB, free: 4.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001579/0.3613, allocations: 0.5079 MB / 0.504 GB, free: 3.992 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/0.3617, allocations: 199 kB / 0.5041 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.3653, allocations: 2.477 MB / 0.5066 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3654, allocations: 0 / 0.5066 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.3678, allocations: 1.602 MB / 0.5081 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.3696, allocations: 480.6 kB / 0.5086 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.377, allocations: 4.989 MB / 0.5135 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.3786, allocations: 2.005 MB / 0.5154 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.3798, allocations: 443.5 kB / 0.5158 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.3801, allocations: 123.4 kB / 0.516 GB, free: 7.48 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3801, allocations: 4 kB / 0.516 GB, free: 7.477 MB / 446.1 MB Notification: Performance of Templates: time 0.2719/0.652, allocations: 28.32 MB / 0.5436 GB, free: 124 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches