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.0008018/0.0008018, allocations: 100.1 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008533/0.0008533, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01218/0.1351, allocations: 11.43 MB / 370.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2371/0.3723, allocations: 4.019 MB / 374.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.3752, allocations: 72 kB / 374.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.3783, allocations: 0.7751 MB / 374.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.3839, allocations: 1.028 MB / 376 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.3856, allocations: 331.6 kB / 376.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.3956, allocations: 4.811 MB / 381.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/0.4011, allocations: 2.601 MB / 383.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004846/0.406, allocations: 1.574 MB / 385.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006329/0.4123, allocations: 2.095 MB / 387.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.4141, allocations: 241.3 kB / 387.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.4167, allocations: 318.5 kB / 387.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.4183, allocations: 1.138 MB / 389.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.4207, allocations: 0.8411 MB / 389.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008641/0.4294, allocations: 6.014 MB / 395.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4294, allocations: 0 / 395.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4294, allocations: 0.7812 kB / 395.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003453/0.4298, allocations: 0 / 395.9 MB, free: 2.754 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.01313/0.4429, allocations: 4.017 MB / 399.9 MB, free: 200 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.443, allocations: 8.031 kB / 399.9 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.4462, allocations: 0.5346 MB / 400.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/0.4527, allocations: 2.437 MB / 402.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.4529, allocations: 263.1 kB / 403.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007082/0.4536, allocations: 357 kB / 403.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.4649, allocations: 5.007 MB / 408.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.465, allocations: 15.62 kB / 408.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.4655, allocations: 146.5 kB / 408.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.4657, allocations: 179 kB / 408.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00895/0.4747, allocations: 4.298 MB / 413.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02893/0.5036, allocations: 14.97 MB / 428.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/0.5084, allocations: 4.209 MB / 432.3 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.5116, allocations: 2 MB / 434.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.5119, allocations: 133.5 kB / 434.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.512, allocations: 56.56 kB / 434.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.839e-06/0.512, allocations: 4 kB / 434.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02162/0.5336, allocations: 10.03 MB / 444.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.5337, allocations: 79.8 kB / 444.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/0.5389, allocations: 2.499 MB / 447.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003498/0.5393, allocations: 65.7 kB / 447.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.5408, allocations: 1.621 MB / 448.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007663/0.5416, allocations: 0.7319 MB / 449.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.5417, allocations: 44 kB / 449.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.542, allocations: 402.6 kB / 450 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.5441, allocations: 1.301 MB / 451.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.5466, allocations: 1.786 MB / 453.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.5489, allocations: 1.552 MB / 454.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.5489, allocations: 4 kB / 454.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007121/0.556, allocations: 4.083 MB / 458.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.5561, allocations: 15.95 kB / 458.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.5561, allocations: 12 kB / 458.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.5588, allocations: 0.8803 MB / 459.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.5608, allocations: 0.5344 MB / 460.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009618/0.5704, allocations: 8.739 MB / 468.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.573, allocations: 123.8 kB / 469 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.5732, allocations: 87.92 kB / 469.1 MB, free: 10.5 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 (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.002999/0.5762, allocations: 1.218 MB / 470.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007776/0.577, allocations: 272.8 kB / 470.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.5833, allocations: 3.73 MB / 474.3 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.5833, allocations: 20 kB / 474.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.5833, allocations: 8 kB / 474.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.5834, allocations: 11.95 kB / 474.4 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.5974, allocations: 8.098 MB / 482.5 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5975, allocations: 7.953 kB / 482.5 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.5991, allocations: 391.8 kB / 482.8 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/0.602, allocations: 0.9279 MB / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.6021, allocations: 55.97 kB / 483.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.613, allocations: 10.21 MB / 494 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.6131, allocations: 8.031 kB / 494 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00993/0.623, allocations: 5.521 MB / 499.6 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/0.6251, allocations: 0.6384 MB / 0.4885 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/0.6256, allocations: 51.98 kB / 0.4885 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.6269, allocations: 131.9 kB / 0.4887 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/0.6274, allocations: 189.8 kB / 0.4888 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.6275, allocations: 55.98 kB / 0.4889 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00302/0.6306, allocations: 1.726 MB / 0.4906 GB, free: 8.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6306, allocations: 0 / 0.4906 GB, free: 8.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003035/0.6336, allocations: 0.8009 MB / 0.4914 GB, free: 7.703 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 (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 {(3,88.9%) 25,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005578/0.6342, allocations: 208.7 kB / 0.4916 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005966/0.6402, allocations: 3.896 MB / 0.4954 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6402, allocations: 0 / 0.4954 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003713/0.6439, allocations: 2.484 MB / 0.4978 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/0.649, allocations: 0.7628 MB / 0.4985 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.665, allocations: 9.128 MB / 0.5074 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.6678, allocations: 2.77 MB / 0.5101 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00275/0.6706, allocations: 0.6829 MB / 0.5108 GB, free: 3.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.6713, allocations: 179.4 kB / 0.511 GB, free: 3.379 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6713, allocations: 4 kB / 0.511 GB, free: 3.375 MB / 430.1 MB Notification: Performance of Templates: time 0.324/0.9953, allocations: 42.83 MB / 0.5528 GB, free: 134.5 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