Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108.4 kB / 18.34 MB, free: 4.832 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.001373/0.001374, allocations: 190.9 kB / 19.28 MB, free: 3.898 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.64/1.64, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001224/0.001224, allocations: 55.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01187/0.1238, allocations: 9.646 MB / 338.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.1309, allocations: 3.066 MB / 341.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.1331, allocations: 43.81 kB / 341.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1356, allocations: 0.6248 MB / 342.1 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.1387, allocations: 0.7453 MB / 342.9 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1398, allocations: 371.4 kB / 343.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.143, allocations: 2.46 MB / 345.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.145, allocations: 1.723 MB / 347.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.1467, allocations: 1.078 MB / 348.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.1484, allocations: 1.312 MB / 349.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.1488, allocations: 280 kB / 350.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.1494, allocations: 371.8 kB / 350.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000696/0.1501, allocations: 0.7752 MB / 351.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.1514, allocations: 1.268 MB / 352.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.1547, allocations: 3.641 MB / 356.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1547, allocations: 0 / 356.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1547, allocations: 0 / 356.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.265e-05/0.1548, allocations: 0 / 356.1 MB, free: 8.203 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005155/0.1599, allocations: 2.583 MB / 358.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.16, allocations: 8.031 kB / 358.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.1607, allocations: 262.1 kB / 359 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.163, allocations: 1.264 MB / 360.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1631, allocations: 148.1 kB / 360.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.1634, allocations: 200 kB / 360.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.1672, allocations: 2.419 MB / 363 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/0.1673, allocations: 11.91 kB / 363 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.1675, allocations: 72 kB / 363.1 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1676, allocations: 91.67 kB / 363.1 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.1708, allocations: 1.966 MB / 365.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.1834, allocations: 7.75 MB / 372.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.1852, allocations: 1.243 MB / 374.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.187, allocations: 0.9323 MB / 375 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.1873, allocations: 118.1 kB / 375.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.1874, allocations: 43.56 kB / 375.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.346e-06/0.1874, allocations: 0 / 375.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.2772/0.4646, allocations: 5.868 MB / 381.1 MB, free: 51.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4647, allocations: 64.02 kB / 381.1 MB, free: 51.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.4674, allocations: 1.31 MB / 382.4 MB, free: 51.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.4676, allocations: 46.02 kB / 382.5 MB, free: 51.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/0.4683, allocations: 0.9156 MB / 383.4 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.4686, allocations: 389.1 kB / 383.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/0.469, allocations: 247.7 kB / 384 MB, free: 50.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4692, allocations: 361.8 kB / 384.4 MB, free: 49.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4702, allocations: 0.6406 MB / 385 MB, free: 49.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4715, allocations: 1.001 MB / 386 MB, free: 48.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/0.4743, allocations: 1.731 MB / 387.7 MB, free: 47.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.4744, allocations: 4.25 kB / 387.7 MB, free: 47.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004374/0.4787, allocations: 2.244 MB / 390 MB, free: 46.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.4788, allocations: 9.219 kB / 390 MB, free: 46.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.4788, allocations: 12.23 kB / 390 MB, free: 46.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.4802, allocations: 0.4894 MB / 390.5 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4814, allocations: 301.9 kB / 390.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006756/0.4882, allocations: 7.135 MB / 397.9 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.4899, allocations: 85.09 kB / 398 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.49, allocations: 59.33 kB / 398.1 MB, free: 41.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.4913, allocations: 0.5998 MB / 398.7 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.4916, allocations: 144.3 kB / 398.8 MB, free: 40.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.4946, allocations: 1.967 MB / 400.8 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4946, allocations: 13.19 kB / 400.8 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.4946, allocations: 7.391 kB / 400.8 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4946, allocations: 7.453 kB / 400.8 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/0.5008, allocations: 4.121 MB / 404.9 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.5009, allocations: 3.031 kB / 404.9 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.5016, allocations: 186 kB / 405.1 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.5029, allocations: 0.5405 MB / 405.7 MB, free: 37.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.503, allocations: 30.95 kB / 405.7 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006036/0.509, allocations: 8.75 MB / 414.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.509, allocations: 3.938 kB / 414.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.5127, allocations: 2.865 MB / 417.3 MB, free: 25.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/0.5134, allocations: 351.2 kB / 417.6 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.5136, allocations: 27.98 kB / 417.7 MB, free: 25.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.5144, allocations: 71.92 kB / 417.7 MB, free: 25.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.5146, allocations: 84.83 kB / 417.8 MB, free: 25.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.5147, allocations: 35.98 kB / 417.9 MB, free: 25.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001076/0.5158, allocations: 0.8839 MB / 418.7 MB, free: 24.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5158, allocations: 4 kB / 418.7 MB, free: 24.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001561/0.5173, allocations: 432 kB / 419.2 MB, free: 23.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003477/0.5177, allocations: 196.1 kB / 419.4 MB, free: 23.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002747/0.5205, allocations: 2.231 MB / 421.6 MB, free: 21.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5205, allocations: 0 / 421.6 MB, free: 21.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.5222, allocations: 1.506 MB / 423.1 MB, free: 19.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.5238, allocations: 413.8 kB / 423.5 MB, free: 19.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.5292, allocations: 4.1 MB / 427.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.5301, allocations: 1.653 MB / 429.3 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000825/0.531, allocations: 324.8 kB / 429.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.5312, allocations: 95.44 kB / 429.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5312, allocations: 0 / 429.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Templates: time 0.03734/0.5686, allocations: 23.71 MB / 453.4 MB, free: 5.398 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches