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.001171/0.001171, allocations: 109.4 kB / 18.4 MB, free: 4.66 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.001071/0.001071, allocations: 189.2 kB / 19.33 MB, free: 3.738 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.469/1.469, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001178/0.001178, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09272, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.2315/0.3242, allocations: 9.643 MB / 385.5 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.3305, allocations: 3.077 MB / 388.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.332, allocations: 42.31 kB / 388.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.3338, allocations: 0.6358 MB / 389.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.3363, allocations: 0.7419 MB / 390 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.3372, allocations: 380.8 kB / 390.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003207/0.3404, allocations: 2.452 MB / 392.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.3426, allocations: 1.728 MB / 394.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.3446, allocations: 1.071 MB / 395.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3468, allocations: 1.313 MB / 396.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004957/0.3473, allocations: 279.4 kB / 397.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009607/0.3482, allocations: 370.1 kB / 397.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.3491, allocations: 0.7758 MB / 398.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.3506, allocations: 1.27 MB / 399.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.3555, allocations: 3.641 MB / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3555, allocations: 0 / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3556, allocations: 0 / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.3557, allocations: 0.9688 kB / 403.2 MB, free: 15.25 MB / 334.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.006749/0.3624, allocations: 2.576 MB / 405.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3625, allocations: 13.59 kB / 405.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.3635, allocations: 265.6 kB / 406.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.3663, allocations: 1.269 MB / 407.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3665, allocations: 141 kB / 407.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.3668, allocations: 189 kB / 407.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.3716, allocations: 2.428 MB / 410.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/0.3716, allocations: 6.438 kB / 410.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.3718, allocations: 82.23 kB / 410.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.372, allocations: 91.58 kB / 410.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.3756, allocations: 1.959 MB / 412.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.3893, allocations: 7.757 MB / 420 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.3911, allocations: 1.239 MB / 421.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.3929, allocations: 0.9674 MB / 422.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.3931, allocations: 118.1 kB / 422.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3932, allocations: 43.56 kB / 422.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.817e-06/0.3932, allocations: 8 kB / 422.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01322/0.4064, allocations: 5.847 MB / 428.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.4065, allocations: 64.41 kB / 428.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.4087, allocations: 1.306 MB / 429.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.4088, allocations: 49.7 kB / 429.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006849/0.4095, allocations: 0.9237 MB / 430.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.4099, allocations: 390.4 kB / 430.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/0.4103, allocations: 251.4 kB / 431.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4105, allocations: 353.9 kB / 431.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009932/0.4115, allocations: 0.6447 MB / 432.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.4127, allocations: 0.9926 MB / 433.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.4149, allocations: 1.739 MB / 434.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4149, allocations: 0 / 434.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003847/0.4188, allocations: 2.253 MB / 437.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.4188, allocations: 8 kB / 437.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4189, allocations: 12.56 kB / 437.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.4201, allocations: 496.2 kB / 437.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.4212, allocations: 307.5 kB / 438 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.4282, allocations: 7.124 MB / 445.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.4298, allocations: 83.91 kB / 445.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.4299, allocations: 56 kB / 445.2 MB, free: 8.855 MB / 366.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.001236/0.4312, allocations: 0.6034 MB / 445.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.4315, allocations: 154.2 kB / 446 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.4351, allocations: 1.968 MB / 447.9 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.4351, allocations: 8 kB / 447.9 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.4351, allocations: 4 kB / 447.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.4352, allocations: 11.97 kB / 448 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007901/0.4431, allocations: 4.121 MB / 452.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.4431, allocations: 7.984 kB / 452.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.4439, allocations: 188 kB / 452.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.4454, allocations: 0.5274 MB / 452.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.4456, allocations: 36.05 kB / 452.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008692/0.4543, allocations: 8.764 MB / 461.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.4543, allocations: 7.984 kB / 461.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004906/0.4592, allocations: 2.851 MB / 464.5 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009597/0.4602, allocations: 351.3 kB / 464.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004614/0.4607, allocations: 32 kB / 464.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.4618, allocations: 67.92 kB / 464.9 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.462, allocations: 88.84 kB / 465 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/0.4621, allocations: 31.98 kB / 465 MB, free: 4.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.4638, allocations: 0.8917 MB / 465.9 MB, free: 3.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4638, allocations: 0 / 465.9 MB, free: 3.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002007/0.4658, allocations: 436 kB / 466.3 MB, free: 2.945 MB / 382.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.0004633/0.4663, allocations: 186.3 kB / 466.5 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003558/0.4698, allocations: 2.24 MB / 468.8 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4699, allocations: 0 / 468.8 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.4722, allocations: 1.498 MB / 470.3 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.4748, allocations: 408.9 kB / 470.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/0.4826, allocations: 4.161 MB / 474.8 MB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.4843, allocations: 1.634 MB / 476.4 MB, free: 8.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.4849, allocations: 107.4 kB / 476.5 MB, free: 8.469 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4849, allocations: 0 / 476.5 MB, free: 8.469 MB / 398.1 MB Notification: Performance of Templates: time 0.08217/0.5671, allocations: 71.11 MB / 0.5348 GB, free: 1.188 MB / 462.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/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