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.001105/0.001105, allocations: 109.4 kB / 18.4 MB, free: 4.688 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.001014/0.001014, allocations: 187.1 kB / 19.33 MB, free: 3.77 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.343/1.343, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001188/0.001188, allocations: 47.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07943, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.1749/0.2544, allocations: 11.77 MB / 387.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006558/0.261, allocations: 3.798 MB / 391.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.2622, allocations: 62.56 kB / 391.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.264, allocations: 0.8677 MB / 392.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.2664, allocations: 1.08 MB / 393.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.2673, allocations: 0.4961 MB / 393.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003812/0.2712, allocations: 4.269 MB / 398.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.2744, allocations: 3.205 MB / 401.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.2772, allocations: 1.903 MB / 403.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.2804, allocations: 2.332 MB / 405.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007742/0.2812, allocations: 0.4956 MB / 406.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2824, allocations: 0.5868 MB / 406.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.2837, allocations: 1.396 MB / 408.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.2861, allocations: 2.215 MB / 410.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005942/0.2921, allocations: 6.549 MB / 416.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2921, allocations: 0 / 416.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2921, allocations: 5.375 kB / 416.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001089/0.2923, allocations: 0 / 416.9 MB, free: 6.352 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008322/0.3006, allocations: 4.29 MB / 421.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3006, allocations: 12.03 kB / 421.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/0.3016, allocations: 440 kB / 421.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.3053, allocations: 2.25 MB / 423.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.3055, allocations: 234.1 kB / 424.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.306, allocations: 307.9 kB / 424.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006594/0.3126, allocations: 4.365 MB / 428.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.985e-05/0.3126, allocations: 7.906 kB / 428.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.313, allocations: 124 kB / 428.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.3131, allocations: 130 kB / 429 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006033/0.3191, allocations: 3.779 MB / 432.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.3384, allocations: 13.4 MB / 446.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.3418, allocations: 2.887 MB / 449 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.3444, allocations: 1.684 MB / 450.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.3447, allocations: 126.4 kB / 450.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3447, allocations: 55.81 kB / 450.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.597e-06/0.3447, allocations: 0 / 450.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.01763/0.3624, allocations: 9.217 MB / 460.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3625, allocations: 69.41 kB / 460.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.3659, allocations: 2.357 MB / 462.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.3661, allocations: 57.7 kB / 462.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.3671, allocations: 1.47 MB / 464.1 MB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/0.3677, allocations: 0.6123 MB / 464.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006026/0.3683, allocations: 363.3 kB / 465 MB, free: 5.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3684, allocations: 305.1 kB / 465.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.3701, allocations: 1.128 MB / 466.5 MB, free: 3.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.372, allocations: 1.567 MB / 468 MB, free: 2.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.3757, allocations: 2.78 MB / 470.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3758, allocations: 8 kB / 470.8 MB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006004/0.3818, allocations: 3.584 MB / 474.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3818, allocations: 8 kB / 474.4 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.3819, allocations: 20.42 kB / 474.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/0.3838, allocations: 0.8104 MB / 475.2 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.3855, allocations: 455.3 kB / 475.7 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.3961, allocations: 11.18 MB / 486.9 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.3982, allocations: 123.9 kB / 487 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.3984, allocations: 75.98 kB / 487.1 MB, free: 14.29 MB / 414.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.001998/0.4004, allocations: 1.091 MB / 488.2 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/0.4012, allocations: 248.9 kB / 488.4 MB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.4067, allocations: 3.301 MB / 491.7 MB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.4068, allocations: 20 kB / 491.7 MB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/0.4068, allocations: 4 kB / 491.7 MB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.4068, allocations: 7.969 kB / 491.7 MB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.4183, allocations: 6.844 MB / 498.6 MB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.4183, allocations: 0 / 498.6 MB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.4196, allocations: 295.8 kB / 498.9 MB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/0.4219, allocations: 0.9362 MB / 499.8 MB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.4221, allocations: 39.98 kB / 499.8 MB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.4354, allocations: 14.6 MB / 0.5024 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4354, allocations: 4.031 kB / 0.5024 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/0.4431, allocations: 4.853 MB / 0.5071 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.4446, allocations: 0.572 MB / 0.5077 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.445, allocations: 47.92 kB / 0.5077 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.4463, allocations: 119.9 kB / 0.5078 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/0.4467, allocations: 161.7 kB / 0.508 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.4468, allocations: 47.98 kB / 0.508 GB, free: 11.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00236/0.4492, allocations: 1.625 MB / 0.5096 GB, free: 10.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4492, allocations: 0 / 0.5096 GB, free: 10.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002069/0.4512, allocations: 0.7031 MB / 0.5103 GB, free: 9.504 MB / 446.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.0003847/0.4516, allocations: 207.5 kB / 0.5105 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005116/0.4568, allocations: 3.586 MB / 0.514 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4568, allocations: 0 / 0.514 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.4602, allocations: 2.52 MB / 0.5165 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.4631, allocations: 0.707 MB / 0.5172 GB, free: 2.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.4746, allocations: 6.76 MB / 0.5238 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.4771, allocations: 2.474 MB / 0.5262 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007882/0.4779, allocations: 171.4 kB / 0.5263 GB, free: 8.77 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4779, allocations: 0 / 0.5263 GB, free: 8.77 MB / 462.1 MB Notification: Performance of Templates: time 0.283/0.7609, allocations: 167.9 MB / 0.6903 GB, free: 26.24 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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