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.001032/0.001033, allocations: 92.97 kB / 16.95 MB, free: 6.457 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.001393/0.001393, allocations: 182.7 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, 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.0006096/0.0006102, allocations: 12 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1499, allocations: 47.58 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01214/0.1621, allocations: 8.537 MB / 336.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007765/0.17, allocations: 2.893 MB / 339.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.1721, allocations: 39.81 kB / 339.8 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.1742, allocations: 0.497 MB / 340.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.1772, allocations: 0.6369 MB / 341 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1783, allocations: 251.6 kB / 341.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.183, allocations: 2.487 MB / 343.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.1859, allocations: 1.2 MB / 344.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.188, allocations: 0.8249 MB / 345.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.1909, allocations: 1.093 MB / 346.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008701/0.1918, allocations: 124 kB / 346.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.1934, allocations: 191.9 kB / 347.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.1948, allocations: 0.5918 MB / 347.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.1961, allocations: 456.6 kB / 348.2 MB, free: 168 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.2009, allocations: 2.91 MB / 351.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.736e-05/0.201, allocations: 0 / 351.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.201, allocations: 7.875 kB / 351.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002005/0.2012, allocations: 4 kB / 351.1 MB, free: 13.23 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.006972/0.2082, allocations: 2.197 MB / 353.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.2083, allocations: 8.031 kB / 353.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.2097, allocations: 265.1 kB / 353.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.213, allocations: 1.22 MB / 354.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.2132, allocations: 151.8 kB / 354.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000556/0.2138, allocations: 188 kB / 355.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/0.2192, allocations: 2.403 MB / 357.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/0.2193, allocations: 11.91 kB / 357.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.2195, allocations: 76 kB / 357.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.2197, allocations: 91.67 kB / 357.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.2237, allocations: 1.951 MB / 359.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.2412, allocations: 7.895 MB / 367.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.2434, allocations: 1.211 MB / 368.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.2456, allocations: 0.9489 MB / 369.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.246, allocations: 134 kB / 369.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.2461, allocations: 51.45 kB / 369.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/0.2461, allocations: 0 / 369.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01585/0.262, allocations: 5.925 MB / 375.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.2621, allocations: 64.41 kB / 375.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.2659, allocations: 1.29 MB / 377.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.2662, allocations: 45.7 kB / 377.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.2672, allocations: 0.9198 MB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.2678, allocations: 386.4 kB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.2679, allocations: 32 kB / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.2681, allocations: 353.9 kB / 378.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.2693, allocations: 0.6403 MB / 379.5 MB, free: 156 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2714/0.5408, allocations: 0.9945 MB / 380.5 MB, free: 50.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5423, allocations: 0.7855 MB / 381.3 MB, free: 50.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.5423, allocations: 6.875 kB / 381.3 MB, free: 50.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005082/0.5474, allocations: 2.237 MB / 383.5 MB, free: 49.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/0.5475, allocations: 14.23 kB / 383.5 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/0.5476, allocations: 11.31 kB / 383.5 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.5492, allocations: 495 kB / 384 MB, free: 49.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5505, allocations: 299.4 kB / 384.3 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/0.5579, allocations: 6.53 MB / 390.8 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.5596, allocations: 90.64 kB / 390.9 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.5597, allocations: 55.94 kB / 391 MB, free: 44.48 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 (idealCloser.control,idealOpener.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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.5611, allocations: 0.602 MB / 391.6 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.5615, allocations: 143.9 kB / 391.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/0.5651, allocations: 1.967 MB / 393.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5652, allocations: 10.31 kB / 393.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.5652, allocations: 5.062 kB / 393.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5652, allocations: 6.859 kB / 393.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006749/0.5719, allocations: 4.131 MB / 397.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.572, allocations: 1.344 kB / 397.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.5728, allocations: 189.9 kB / 398 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.5741, allocations: 0.5352 MB / 398.6 MB, free: 41.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.5742, allocations: 35.75 kB / 398.6 MB, free: 41.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006537/0.5808, allocations: 8.044 MB / 406.7 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.5808, allocations: 3.062 kB / 406.7 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.5852, allocations: 2.855 MB / 409.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/0.5862, allocations: 351.2 kB / 409.9 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.5864, allocations: 27.98 kB / 409.9 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.5871, allocations: 83.88 kB / 410 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.5874, allocations: 80.91 kB / 410 MB, free: 32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/0.5875, allocations: 36.53 kB / 410.1 MB, free: 31.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001294/0.5888, allocations: 0.8799 MB / 411 MB, free: 31.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5888, allocations: 0 / 411 MB, free: 31.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002085/0.5909, allocations: 442.3 kB / 411.4 MB, free: 30.65 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004511/0.5914, allocations: 143.8 kB / 411.5 MB, free: 30.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003773/0.5952, allocations: 2.225 MB / 413.8 MB, free: 28.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5952, allocations: 4.062 kB / 413.8 MB, free: 28.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.5972, allocations: 1.505 MB / 415.3 MB, free: 26.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.5995, allocations: 409 kB / 415.7 MB, free: 26.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/0.6073, allocations: 4.925 MB / 420.6 MB, free: 21.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.6088, allocations: 1.638 MB / 422.2 MB, free: 19.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001442/0.6103, allocations: 320.8 kB / 422.5 MB, free: 19.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.6105, allocations: 99.42 kB / 422.6 MB, free: 19.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.224e-06/0.6106, allocations: 0 / 422.6 MB, free: 19.16 MB / 318.1 MB Notification: Performance of Templates: time 0.03796/0.6485, allocations: 21.86 MB / 444.5 MB, free: 13.29 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../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