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.001319/0.001319, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.001266/0.001266, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.032/2.032, allocations: 205.1 MB / 224 MB, free: 12.45 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.001875/0.001875, allocations: 47.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1592, allocations: 46.63 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01508/0.1744, allocations: 9.576 MB / 336.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1845, allocations: 3.035 MB / 339.4 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.188, allocations: 39.81 kB / 339.4 MB, free: 8.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.1916, allocations: 0.5517 MB / 340 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.1972, allocations: 0.672 MB / 340.7 MB, free: 6.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.1992, allocations: 331.7 kB / 341 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005733/0.2049, allocations: 2.444 MB / 343.4 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/0.2093, allocations: 1.723 MB / 345.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.2131, allocations: 1.082 MB / 346.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.2174, allocations: 1.339 MB / 347.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.2192, allocations: 280 kB / 347.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.2212, allocations: 367.8 kB / 348.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.2223, allocations: 0.7791 MB / 349 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002445/0.2248, allocations: 1.268 MB / 350.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.2313, allocations: 3.606 MB / 353.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.2314, allocations: 0 / 353.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.2314, allocations: 0 / 353.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.2316, allocations: 0 / 353.9 MB, free: 9.559 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.008544/0.2401, allocations: 2.579 MB / 356.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.603e-05/0.2402, allocations: 12.03 kB / 356.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.2412, allocations: 262.1 kB / 356.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.2441, allocations: 1.26 MB / 358 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.2442, allocations: 148.1 kB / 358.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.2446, allocations: 196 kB / 358.3 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.2494, allocations: 2.419 MB / 360.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.2495, allocations: 19.83 kB / 360.7 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.2497, allocations: 79.98 kB / 360.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.2498, allocations: 83.69 kB / 360.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.2536, allocations: 1.962 MB / 362.9 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.2688, allocations: 7.84 MB / 370.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.2709, allocations: 1.231 MB / 371.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.2727, allocations: 0.9401 MB / 372.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.273, allocations: 114.1 kB / 373 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/0.2731, allocations: 43.56 kB / 373 MB, free: 5.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.797e-06/0.2731, allocations: 8 kB / 373 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.3153/0.5884, allocations: 5.87 MB / 378.9 MB, free: 51.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.5886, allocations: 66.97 kB / 379 MB, free: 51.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.5924, allocations: 1.303 MB / 380.3 MB, free: 51.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004423/0.5929, allocations: 44.23 kB / 380.3 MB, free: 51.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.5943, allocations: 0.9207 MB / 381.2 MB, free: 50.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/0.595, allocations: 390.4 kB / 381.6 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006561/0.5957, allocations: 249.8 kB / 381.9 MB, free: 50.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5958, allocations: 363.5 kB / 382.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.5972, allocations: 0.6387 MB / 382.9 MB, free: 49.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.5986, allocations: 0.9962 MB / 383.9 MB, free: 49.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.6014, allocations: 1.736 MB / 385.6 MB, free: 48.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.6015, allocations: 3.469 kB / 385.6 MB, free: 48.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004953/0.6064, allocations: 2.246 MB / 387.8 MB, free: 47.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.6065, allocations: 13.62 kB / 387.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.6066, allocations: 10.5 kB / 387.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.6081, allocations: 493.5 kB / 388.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.6094, allocations: 306.7 kB / 388.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/0.6176, allocations: 7.134 MB / 395.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.6194, allocations: 87.19 kB / 395.9 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.6195, allocations: 55.22 kB / 395.9 MB, free: 41.6 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.00143/0.621, allocations: 0.606 MB / 396.5 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/0.6215, allocations: 145.3 kB / 396.7 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.6251, allocations: 1.967 MB / 398.6 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6251, allocations: 14.75 kB / 398.6 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.6251, allocations: 8.875 kB / 398.7 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.6251, allocations: 7.641 kB / 398.7 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.6317, allocations: 4.133 MB / 402.8 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6318, allocations: 0 / 402.8 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.6325, allocations: 192.5 kB / 403 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.6339, allocations: 0.5309 MB / 403.5 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/0.634, allocations: 32.55 kB / 403.5 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006887/0.6409, allocations: 8.756 MB / 412.3 MB, free: 29.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6409, allocations: 4.031 kB / 412.3 MB, free: 29.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.6449, allocations: 2.863 MB / 415.2 MB, free: 26.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009001/0.6459, allocations: 351.2 kB / 415.5 MB, free: 26.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.6461, allocations: 31.92 kB / 415.5 MB, free: 26.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.6468, allocations: 68.11 kB / 415.6 MB, free: 26.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.6471, allocations: 92.86 kB / 415.7 MB, free: 26.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.6472, allocations: 31.92 kB / 415.7 MB, free: 26.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.6484, allocations: 0.8917 MB / 416.6 MB, free: 25.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6484, allocations: 0 / 416.6 MB, free: 25.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001757/0.6502, allocations: 436 kB / 417.1 MB, free: 25.07 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.0004145/0.6506, allocations: 185.9 kB / 417.2 MB, free: 24.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00395/0.6546, allocations: 2.573 MB / 419.8 MB, free: 22.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.6546, allocations: 2 kB / 419.8 MB, free: 22.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.6564, allocations: 1.509 MB / 421.3 MB, free: 20.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.6585, allocations: 418.1 kB / 421.7 MB, free: 20.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/0.6655, allocations: 4.961 MB / 426.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.6666, allocations: 1.646 MB / 428.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001148/0.6678, allocations: 324.8 kB / 428.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.668, allocations: 99.42 kB / 428.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.668, allocations: 0 / 428.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Templates: time 0.04434/0.7124, allocations: 23.7 MB / 452.4 MB, free: 5.457 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