Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 178.5 kB / 16.41 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007644/0.0007645, allocations: 94.28 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3594, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01408/0.3736, allocations: 11.36 MB / 385.9 MB, free: 36.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3847, allocations: 4.024 MB / 389.9 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003926/0.3887, allocations: 65.69 kB / 390 MB, free: 33.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.392, allocations: 0.7702 MB / 390.8 MB, free: 32.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005249/0.3973, allocations: 1.022 MB / 391.8 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.399, allocations: 331.5 kB / 392.1 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007072/0.4061, allocations: 4.838 MB / 397 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.4093, allocations: 2.522 MB / 399.5 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.4128, allocations: 1.568 MB / 401 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004108/0.417, allocations: 2.109 MB / 403.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.4181, allocations: 244 kB / 403.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.42, allocations: 307.9 kB / 403.7 MB, free: 19.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.4211, allocations: 1.153 MB / 404.8 MB, free: 18.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.4227, allocations: 0.8394 MB / 405.7 MB, free: 17.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006112/0.4289, allocations: 5.988 MB / 411.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.4289, allocations: 0 / 411.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4289, allocations: 0 / 411.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003604/0.4293, allocations: 0 / 411.7 MB, free: 11.59 MB / 298.7 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.01037/0.4397, allocations: 3.997 MB / 415.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4398, allocations: 8.031 kB / 415.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.4423, allocations: 0.4908 MB / 416.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/0.4478, allocations: 2.311 MB / 418.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4481, allocations: 263.1 kB / 418.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000881/0.449, allocations: 351.9 kB / 419.1 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.4591, allocations: 5.009 MB / 424.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-05/0.4593, allocations: 11.91 kB / 424.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004168/0.4597, allocations: 140 kB / 424.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/0.4599, allocations: 183.1 kB / 424.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009972/0.4699, allocations: 4.287 MB / 428.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03417/0.5041, allocations: 15 MB / 443.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006058/0.5103, allocations: 4.204 MB / 447.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.514, allocations: 2.002 MB / 449.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.5144, allocations: 135.1 kB / 450 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.295e-05/0.5145, allocations: 52.56 kB / 450.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 7.684e-06/0.5145, allocations: 3.984 kB / 450.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.02347/0.538, allocations: 10.1 MB / 460.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.5381, allocations: 81.36 kB / 460.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/0.5428, allocations: 2.486 MB / 462.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005495/0.5434, allocations: 65.7 kB / 462.8 MB, free: 7.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.5452, allocations: 1.611 MB / 464.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.5463, allocations: 0.7277 MB / 465.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.5465, allocations: 48 kB / 465.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.5467, allocations: 398.6 kB / 465.6 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/0.5492, allocations: 1.308 MB / 466.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.5517, allocations: 1.782 MB / 468.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.5543, allocations: 1.567 MB / 470.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.5543, allocations: 4 kB / 470.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007833/0.5621, allocations: 4.079 MB / 474.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.5622, allocations: 12.47 kB / 474.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.5623, allocations: 12 kB / 474.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.5654, allocations: 0.8866 MB / 475.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.568, allocations: 0.5266 MB / 475.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.5788, allocations: 8.746 MB / 484.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.5817, allocations: 115.9 kB / 484.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/0.5821, allocations: 87.98 kB / 484.7 MB, free: 0.875 MB / 362.7 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 (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 initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003241/0.5853, allocations: 1.219 MB / 485.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009489/0.5863, allocations: 272.7 kB / 486.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007074/0.5934, allocations: 3.73 MB / 489.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.5934, allocations: 20 kB / 490 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.5935, allocations: 8 kB / 490 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.5935, allocations: 15.89 kB / 490 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.6091, allocations: 8.106 MB / 498.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6092, allocations: 0 / 498.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.6108, allocations: 391.8 kB / 498.5 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/0.6141, allocations: 0.9272 MB / 499.4 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/0.6144, allocations: 59.97 kB / 499.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2696/0.8841, allocations: 10.17 MB / 0.4977 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.8841, allocations: 5.688 kB / 0.4977 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.8957, allocations: 5.534 MB / 0.5031 GB, free: 98.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/0.8981, allocations: 0.6353 MB / 0.5037 GB, free: 98.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005707/0.8987, allocations: 52.03 kB / 0.5038 GB, free: 98.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.9002, allocations: 129.4 kB / 0.5039 GB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005051/0.9008, allocations: 183.1 kB / 0.5041 GB, free: 98.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.9009, allocations: 57.83 kB / 0.5041 GB, free: 98.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002934/0.9039, allocations: 1.719 MB / 0.5058 GB, free: 97.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9039, allocations: 0 / 0.5058 GB, free: 97.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003103/0.907, allocations: 0.7951 MB / 0.5066 GB, free: 97.88 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007103/0.9077, allocations: 208.8 kB / 0.5068 GB, free: 97.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00608/0.9138, allocations: 3.892 MB / 0.5106 GB, free: 95.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.9139, allocations: 11.75 kB / 0.5106 GB, free: 95.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003417/0.9173, allocations: 2.481 MB / 0.513 GB, free: 93.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/0.9221, allocations: 0.7549 MB / 0.5137 GB, free: 92.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.9367, allocations: 9.118 MB / 0.5226 GB, free: 83.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/0.9395, allocations: 2.724 MB / 0.5253 GB, free: 80.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.9408, allocations: 191.4 kB / 0.5255 GB, free: 80.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.575e-06/0.9408, allocations: 3.391 kB / 0.5255 GB, free: 80.62 MB / 378.7 MB Notification: Performance of Templates: time 0.432/1.373, allocations: 141.1 MB / 0.6633 GB, free: 142.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches