Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.6 kB / 16.92 MB, free: 6.145 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.001247/0.001247, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001084, allocations: 51.47 kB / 300.6 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1038, allocations: 49.44 MB / 350.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01587/0.1197, allocations: 12.86 MB / 362.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00877/0.1285, allocations: 4.187 MB / 367.1 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.1312, allocations: 79.69 kB / 367.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.134, allocations: 0.9704 MB / 368.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.1384, allocations: 1.173 MB / 369.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1399, allocations: 0.511 MB / 369.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2162/0.3561, allocations: 4.61 MB / 374.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006475/0.3626, allocations: 3.688 MB / 378.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.3684, allocations: 2.113 MB / 380.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007635/0.3761, allocations: 2.559 MB / 382.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.3777, allocations: 0.5526 MB / 383.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.3808, allocations: 0.6425 MB / 384 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.3829, allocations: 1.518 MB / 385.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00593/0.3888, allocations: 2.476 MB / 388 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0088/0.3976, allocations: 7.35 MB / 395.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3977, allocations: 0 / 395.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3977, allocations: 0 / 395.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00023/0.3979, allocations: 3.281 kB / 395.3 MB, free: 3.137 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01561/0.4136, allocations: 4.694 MB / 400 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4136, allocations: 12.03 kB / 400.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4154, allocations: 0.4995 MB / 400.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/0.4212, allocations: 2.488 MB / 403 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.4215, allocations: 270.8 kB / 403.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006646/0.4222, allocations: 355 kB / 403.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.4336, allocations: 5.027 MB / 408.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.4338, allocations: 13.34 kB / 408.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006504/0.4345, allocations: 143.3 kB / 408.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002273/0.4347, allocations: 187.1 kB / 409 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008702/0.4434, allocations: 4.293 MB / 413.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02901/0.4725, allocations: 14.9 MB / 428.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/0.4778, allocations: 4.189 MB / 432.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/0.4814, allocations: 1.998 MB / 434.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.4818, allocations: 134.5 kB / 434.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.4819, allocations: 56.56 kB / 434.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.727e-06/0.4819, allocations: 0 / 434.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02076/0.5027, allocations: 9.947 MB / 444.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5028, allocations: 73.41 kB / 444.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/0.5074, allocations: 2.502 MB / 447.1 MB, free: 312 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.5078, allocations: 65.7 kB / 447.2 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.5091, allocations: 1.622 MB / 448.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009185/0.51, allocations: 0.7287 MB / 449.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009609/0.511, allocations: 416.3 kB / 449.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5112, allocations: 309.1 kB / 450.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.5135, allocations: 1.293 MB / 451.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.5162, allocations: 1.785 MB / 453.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004945/0.5211, allocations: 3.215 MB / 456.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.5212, allocations: 4 kB / 456.5 MB, free: 6.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008/0.5292, allocations: 4.075 MB / 460.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5293, allocations: 12 kB / 460.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.5293, allocations: 12 kB / 460.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.5323, allocations: 0.8885 MB / 461.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.5347, allocations: 0.5266 MB / 462 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.546, allocations: 9.487 MB / 471.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.5488, allocations: 111.9 kB / 471.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/0.5494, allocations: 88 kB / 471.7 MB, free: 6.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002887/0.5523, allocations: 1.22 MB / 472.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009151/0.5532, allocations: 272.7 kB / 473.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/0.5601, allocations: 3.715 MB / 476.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.5601, allocations: 24 kB / 476.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.5602, allocations: 4 kB / 476.9 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.5602, allocations: 11.95 kB / 477 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.5748, allocations: 8.08 MB / 485 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5748, allocations: 4 kB / 485 MB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.5765, allocations: 387.4 kB / 485.4 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/0.5796, allocations: 0.9447 MB / 486.4 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.5798, allocations: 51.98 kB / 486.4 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.5936, allocations: 11.1 MB / 497.5 MB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5937, allocations: 4 kB / 497.5 MB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009335/0.603, allocations: 5.506 MB / 0.4912 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/0.6051, allocations: 0.6304 MB / 0.4919 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000535/0.6056, allocations: 47.98 kB / 0.4919 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.607, allocations: 115.9 kB / 0.492 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/0.6075, allocations: 181.7 kB / 0.4922 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.6076, allocations: 67.98 kB / 0.4922 GB, free: 5.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002982/0.6106, allocations: 1.727 MB / 0.4939 GB, free: 4 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6106, allocations: 0 / 0.4939 GB, free: 4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003344/0.614, allocations: 0.8007 MB / 0.4947 GB, free: 3.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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 {(3,25,88.9%), (2,12,100.0%), (1,1,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.0006687/0.6147, allocations: 248.5 kB / 0.495 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.6257, allocations: 5.708 MB / 0.5005 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6258, allocations: 3.938 kB / 0.5005 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/0.6298, allocations: 2.473 MB / 0.5029 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/0.634, allocations: 0.788 MB / 0.5037 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.6483, allocations: 7.821 MB / 0.5114 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/0.6515, allocations: 2.773 MB / 0.5141 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002397/0.654, allocations: 0.6866 MB / 0.5147 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.6545, allocations: 179.4 kB / 0.5149 GB, free: 14.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6546, allocations: 0 / 0.5149 GB, free: 14.31 MB / 446.1 MB Notification: Performance of Templates: time 0.2587/0.9132, allocations: 46.42 MB / 0.5602 GB, free: 135.6 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches