Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 93.7 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 183.9 kB / 17.82 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 12 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009051/0.1107, allocations: 7.774 MB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.1173, allocations: 3.038 MB / 339.1 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.1189, allocations: 47.75 kB / 339.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.1205, allocations: 0.5558 MB / 339.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.1229, allocations: 0.6504 MB / 340.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.1239, allocations: 255.7 kB / 340.6 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.1268, allocations: 1.673 MB / 342.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.1287, allocations: 1.492 MB / 343.8 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1299, allocations: 0.8095 MB / 344.6 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.1314, allocations: 1.066 MB / 345.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002981/0.1317, allocations: 132 kB / 345.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.1324, allocations: 203.9 kB / 346 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.133, allocations: 0.6426 MB / 346.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.1336, allocations: 496.5 kB / 347.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.1367, allocations: 3.288 MB / 350.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1368, allocations: 4 kB / 350.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1368, allocations: 0 / 350.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.1369, allocations: 4 kB / 350.4 MB, free: 13.87 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005577/0.1425, allocations: 2.472 MB / 352.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1425, allocations: 16.03 kB / 352.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1436, allocations: 292.7 kB / 353.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.1464, allocations: 1.39 MB / 354.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.1466, allocations: 168.2 kB / 354.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.1469, allocations: 211.9 kB / 355 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005157/0.1521, allocations: 2.776 MB / 357.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.1522, allocations: 4 kB / 357.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.1524, allocations: 87.98 kB / 357.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1525, allocations: 108.1 kB / 357.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.1568, allocations: 2.355 MB / 360.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.1739, allocations: 8.589 MB / 368.9 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.1766, allocations: 1.716 MB / 370.6 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.177, allocations: 207.2 kB / 370.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/0.1771, allocations: 47.55 kB / 370.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 4.027e-06/0.1771, allocations: 0 / 370.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.01364/0.1907, allocations: 6.085 MB / 376.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.1909, allocations: 68.34 kB / 377 MB, free: 2.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.1935, allocations: 1.386 MB / 378.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.1936, allocations: 45.7 kB / 378.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.1947, allocations: 1.037 MB / 379.5 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.213/0.4077, allocations: 401.6 kB / 379.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4079, allocations: 28 kB / 379.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.408, allocations: 364.9 kB / 380.2 MB, free: 49.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4094, allocations: 0.7002 MB / 380.9 MB, free: 49.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.411, allocations: 1.075 MB / 382 MB, free: 49.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.4126, allocations: 0.8646 MB / 382.9 MB, free: 49.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.4126, allocations: 5.188 kB / 382.9 MB, free: 49.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004305/0.4169, allocations: 2.41 MB / 385.3 MB, free: 48.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.417, allocations: 11.53 kB / 385.3 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.417, allocations: 11.22 kB / 385.3 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009701/0.418, allocations: 396.1 kB / 385.7 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4193, allocations: 342 kB / 386 MB, free: 48.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.4261, allocations: 6.375 MB / 392.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4276, allocations: 108.2 kB / 392.5 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4277, allocations: 60.31 kB / 392.6 MB, free: 43.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (160): * Single equations (assignments): 156 * 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: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001459/0.4292, allocations: 0.6865 MB / 393.3 MB, free: 43.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.4295, allocations: 162.2 kB / 393.4 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.4332, allocations: 2.129 MB / 395.6 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.4332, allocations: 11.81 kB / 395.6 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4333, allocations: 4.219 kB / 395.6 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4333, allocations: 7.547 kB / 395.6 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/0.4407, allocations: 4.541 MB / 400.1 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4407, allocations: 3.938 kB / 400.1 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.4416, allocations: 224.3 kB / 400.3 MB, free: 40.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.4427, allocations: 427.7 kB / 400.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.681e-05/0.4428, allocations: 31.86 kB / 400.8 MB, free: 39.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.4485, allocations: 7.87 MB / 408.7 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4485, allocations: 3.703 kB / 408.7 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.4533, allocations: 3.313 MB / 412 MB, free: 29.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.4546, allocations: 386.9 kB / 412.4 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.4549, allocations: 31.98 kB / 412.4 MB, free: 29.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.4558, allocations: 92.94 kB / 412.5 MB, free: 29.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/0.4561, allocations: 90.02 kB / 412.6 MB, free: 29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.4562, allocations: 35.98 kB / 412.6 MB, free: 28.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001565/0.4577, allocations: 0.9495 MB / 413.6 MB, free: 28.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4577, allocations: 0 / 413.6 MB, free: 28.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001759/0.4595, allocations: 462.6 kB / 414 MB, free: 27.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/0.4598, allocations: 155.5 kB / 414.2 MB, free: 27.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004007/0.4638, allocations: 2.231 MB / 416.4 MB, free: 25.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4638, allocations: 0 / 416.4 MB, free: 25.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.4657, allocations: 1.44 MB / 417.8 MB, free: 23.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.4676, allocations: 385.3 kB / 418.2 MB, free: 23.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/0.4744, allocations: 5.319 MB / 423.5 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.4756, allocations: 1.842 MB / 425.4 MB, free: 16.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4768, allocations: 369.6 kB / 425.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.4771, allocations: 111.4 kB / 425.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4771, allocations: 0 / 425.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of Templates: time 0.03677/0.5138, allocations: 22.06 MB / 447.9 MB, free: 9.469 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches