Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 106.5 kB / 17.15 MB, free: 6.332 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.00268/0.00268, allocations: 198 kB / 18.07 MB, free: 5.434 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.874/1.874, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001361/0.001361, allocations: 59.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1473, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01831/0.1657, allocations: 11.66 MB / 338.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.1757, allocations: 3.768 MB / 342 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.1788, allocations: 59.69 kB / 342.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.1827, allocations: 0.7576 MB / 342.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006416/0.1891, allocations: 0.991 MB / 343.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1907, allocations: 447.6 kB / 344.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007671/0.1984, allocations: 4.909 MB / 349.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.2023, allocations: 2.662 MB / 351.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.2058, allocations: 1.615 MB / 353.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.2099, allocations: 2.226 MB / 355.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000849/0.2107, allocations: 300 kB / 356 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.2122, allocations: 407.8 kB / 356.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.2137, allocations: 1.176 MB / 357.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002935/0.2166, allocations: 1.986 MB / 359.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00718/0.2238, allocations: 6.301 MB / 365.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.2239, allocations: 0 / 365.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.2239, allocations: 0 / 365.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002789/0.2242, allocations: 0 / 365.8 MB, free: 13.44 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01562/0.2398, allocations: 4.306 MB / 370.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.822e-05/0.2399, allocations: 12.03 kB / 370.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.2415, allocations: 436 kB / 370.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.2463, allocations: 2.223 MB / 372.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.2465, allocations: 230.1 kB / 373 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.2471, allocations: 319.9 kB / 373.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009866/0.2569, allocations: 4.365 MB / 377.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.2572, allocations: 7.984 kB / 377.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.2575, allocations: 128 kB / 377.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.2577, allocations: 126 kB / 378 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2801/0.5378, allocations: 3.774 MB / 381.7 MB, free: 49.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.5639, allocations: 13.56 MB / 395.3 MB, free: 41.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/0.5672, allocations: 2.891 MB / 398.2 MB, free: 39.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.5696, allocations: 1.689 MB / 399.9 MB, free: 38.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.5698, allocations: 129.4 kB / 400 MB, free: 38.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5699, allocations: 47.84 kB / 400.1 MB, free: 38.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 3.537e-06/0.5699, allocations: 0 / 400.1 MB, free: 38.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01544/0.5853, allocations: 9.211 MB / 409.3 MB, free: 31.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.5854, allocations: 73.41 kB / 409.3 MB, free: 31.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.5882, allocations: 2.357 MB / 411.7 MB, free: 28.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.5883, allocations: 53.7 kB / 411.7 MB, free: 28.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.589, allocations: 1.473 MB / 413.2 MB, free: 27.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.5893, allocations: 0.5994 MB / 413.8 MB, free: 26.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/0.5898, allocations: 363.3 kB / 414.2 MB, free: 26.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.5899, allocations: 305.1 kB / 414.5 MB, free: 26.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.5913, allocations: 1.121 MB / 415.6 MB, free: 25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.5929, allocations: 1.578 MB / 417.2 MB, free: 23.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.596, allocations: 2.78 MB / 420 MB, free: 20.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.596, allocations: 4 kB / 420 MB, free: 20.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005385/0.6014, allocations: 3.6 MB / 423.6 MB, free: 16.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.6015, allocations: 12.5 kB / 423.6 MB, free: 16.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.6015, allocations: 17.09 kB / 423.6 MB, free: 16.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.6031, allocations: 0.7935 MB / 424.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.6046, allocations: 467.2 kB / 424.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0075/0.6121, allocations: 10.28 MB / 435.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.6145, allocations: 123.8 kB / 435.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.6149, allocations: 84.05 kB / 435.3 MB, free: 4.219 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002235/0.6171, allocations: 1.087 MB / 436.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/0.6178, allocations: 245 kB / 436.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.6224, allocations: 3.297 MB / 439.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6225, allocations: 19.61 kB / 440 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.6225, allocations: 8 kB / 440 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.6225, allocations: 11.97 kB / 440 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.6339, allocations: 6.887 MB / 446.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6339, allocations: 0 / 446.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.6352, allocations: 299.8 kB / 447.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.6376, allocations: 0.9357 MB / 448.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6377, allocations: 43.98 kB / 448.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.6506, allocations: 13.45 MB / 461.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6506, allocations: 4.062 kB / 461.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008068/0.6587, allocations: 4.862 MB / 466.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.6603, allocations: 0.5644 MB / 467 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/0.6607, allocations: 32 kB / 467 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.6621, allocations: 123.9 kB / 467.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/0.6626, allocations: 161.7 kB / 467.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6627, allocations: 47.98 kB / 467.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002826/0.6656, allocations: 1.633 MB / 469 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6656, allocations: 0 / 469 MB, free: 1.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002766/0.6684, allocations: 0.7056 MB / 469.7 MB, free: 0.6523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0005026/0.6689, allocations: 206.9 kB / 469.9 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005817/0.6747, allocations: 3.58 MB / 473.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.6747, allocations: 0 / 473.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.6785, allocations: 2.512 MB / 476 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/0.6829, allocations: 0.6688 MB / 476.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.698, allocations: 8.167 MB / 484.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002685/0.7007, allocations: 2.525 MB / 487.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002639/0.7034, allocations: 0.5827 MB / 488 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.7039, allocations: 159.3 kB / 488.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7039, allocations: 0 / 488.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.1064/0.8103, allocations: 40.56 MB / 0.5163 GB, free: 5.352 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches