Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009708/0.0009709, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.121/1.121, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001758/0.0001759, allocations: 11.98 kB / 307.7 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07221/0.0724, allocations: 51.52 MB / 359.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0104/0.08281, allocations: 12.18 MB / 371.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1288/0.2117, allocations: 4.166 MB / 375.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.2134, allocations: 72.88 kB / 375.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.2155, allocations: 0.8551 MB / 376.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.2184, allocations: 1.079 MB / 377.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2195, allocations: 477.3 kB / 378.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004314/0.2238, allocations: 5.324 MB / 383.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.2265, allocations: 3.034 MB / 386.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.2292, allocations: 1.598 MB / 388 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.2311, allocations: 2.177 MB / 390.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.2315, allocations: 241.8 kB / 390.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.2322, allocations: 355.8 kB / 390.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007577/0.233, allocations: 1.14 MB / 391.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.2344, allocations: 2.084 MB / 394 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.2384, allocations: 6.952 MB / 401 MB, free: 14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2384, allocations: 6.688 kB / 401 MB, free: 14 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2384, allocations: 0 / 401 MB, free: 14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.712e-05/0.2385, allocations: 3.938 kB / 401 MB, free: 13.99 MB / 318.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.006111/0.2446, allocations: 3.974 MB / 405 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2446, allocations: 16.03 kB / 405 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.2459, allocations: 0.5346 MB / 405.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.2492, allocations: 2.508 MB / 408 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.2494, allocations: 269.8 kB / 408.3 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.2498, allocations: 359.6 kB / 408.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006725/0.2566, allocations: 5.035 MB / 413.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.517e-05/0.2566, allocations: 11.98 kB / 413.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.2569, allocations: 145.8 kB / 413.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.2571, allocations: 183.1 kB / 414 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.263, allocations: 4.314 MB / 418.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.2806, allocations: 14.99 MB / 433.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/0.2844, allocations: 4.206 MB / 437.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/0.2872, allocations: 2.002 MB / 439.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.2874, allocations: 138 kB / 439.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.2874, allocations: 56.56 kB / 439.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.216e-06/0.2875, allocations: 0 / 439.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01616/0.3036, allocations: 10.08 MB / 449.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.3037, allocations: 77.41 kB / 449.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.3065, allocations: 2.518 MB / 452.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.3066, allocations: 65.7 kB / 452.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009671/0.3076, allocations: 1.625 MB / 454 MB, free: 8.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/0.3081, allocations: 0.7231 MB / 454.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.3083, allocations: 198.3 kB / 455 MB, free: 7.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.3084, allocations: 305.1 kB / 455.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.3102, allocations: 1.308 MB / 456.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.3122, allocations: 1.798 MB / 458.4 MB, free: 4.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.3161, allocations: 3.231 MB / 461.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3161, allocations: 7.938 kB / 461.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005675/0.3218, allocations: 4.099 MB / 465.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3218, allocations: 16 kB / 465.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3219, allocations: 12 kB / 465.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.3243, allocations: 0.8802 MB / 466.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.3261, allocations: 0.5266 MB / 467.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.3347, allocations: 8.76 MB / 475.9 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.336, allocations: 123.8 kB / 476 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3362, allocations: 88 kB / 476.1 MB, free: 1.977 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.001556/0.3377, allocations: 1.215 MB / 477.3 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.3381, allocations: 284.6 kB / 477.6 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/0.3436, allocations: 3.734 MB / 481.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.3436, allocations: 31.98 kB / 481.4 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3436, allocations: 4 kB / 481.4 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.3436, allocations: 11.97 kB / 481.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.3544, allocations: 8.124 MB / 489.5 MB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3544, allocations: 0 / 489.5 MB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.3558, allocations: 391.7 kB / 489.9 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002691/0.3585, allocations: 0.9329 MB / 490.8 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.3586, allocations: 47.98 kB / 490.9 MB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009366/0.368, allocations: 10.23 MB / 0.4894 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.368, allocations: 4 kB / 0.4894 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007145/0.3752, allocations: 5.538 MB / 0.4948 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009316/0.3761, allocations: 0.6343 MB / 0.4954 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.3764, allocations: 51.98 kB / 0.4954 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.3776, allocations: 123.9 kB / 0.4956 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.3779, allocations: 185.7 kB / 0.4957 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.3781, allocations: 59.98 kB / 0.4958 GB, free: 1.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.3801, allocations: 1.739 MB / 0.4975 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3801, allocations: 0 / 0.4975 GB, free: 15.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001754/0.3819, allocations: 0.7969 MB / 0.4983 GB, free: 15.09 MB / 430.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.0004598/0.3823, allocations: 253.1 kB / 0.4985 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004931/0.3873, allocations: 3.9 MB / 0.5023 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3873, allocations: 4.812 kB / 0.5023 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003199/0.3905, allocations: 2.499 MB / 0.5048 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.3939, allocations: 0.7425 MB / 0.5055 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4041, allocations: 9.54 MB / 0.5148 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/0.4062, allocations: 2.778 MB / 0.5175 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001563/0.4078, allocations: 0.6829 MB / 0.5182 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.4083, allocations: 175.4 kB / 0.5184 GB, free: 10.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4083, allocations: 0 / 0.5184 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Templates: time 0.1741/0.5824, allocations: 43.97 MB / 0.5613 GB, free: 127.7 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches