Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001566/0.001566, allocations: 172.6 kB / 14.1 MB, free: 1.223 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.487/1.487, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008342/0.0008342, allocations: 85.92 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08584, allocations: 47.56 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3011/0.387, allocations: 111.7 MB / 481.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.3872, allocations: 83.83 kB / 481.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.452/0.8392, allocations: 93.57 MB / 0.5619 GB, free: 89.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8393, allocations: 0 / 0.5619 GB, free: 89.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002385/0.8395, allocations: 95.55 kB / 0.562 GB, free: 89.84 MB / 410.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.006258/0.8458, allocations: 3.548 MB / 0.5655 GB, free: 88.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8459, allocations: 10.75 kB / 0.5655 GB, free: 88.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.8471, allocations: 0.5022 MB / 0.566 GB, free: 88.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/0.8515, allocations: 2.555 MB / 0.5685 GB, free: 87.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.8517, allocations: 259.8 kB / 0.5687 GB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/0.8522, allocations: 351.8 kB / 0.5691 GB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/0.8588, allocations: 4.847 MB / 0.5738 GB, free: 86.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.982e-05/0.8589, allocations: 3.656 kB / 0.5738 GB, free: 86.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.8592, allocations: 159.1 kB / 0.5739 GB, free: 86.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.8593, allocations: 174.3 kB / 0.5741 GB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.8646, allocations: 3.914 MB / 0.5779 GB, free: 85.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.8841, allocations: 14.96 MB / 0.5925 GB, free: 77.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.8875, allocations: 4.145 MB / 0.5966 GB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.8898, allocations: 1.833 MB / 0.5984 GB, free: 73.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.8901, allocations: 150.1 kB / 0.5985 GB, free: 73.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8902, allocations: 56.09 kB / 0.5986 GB, free: 73.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.518e-06/0.8902, allocations: 4 kB / 0.5986 GB, free: 73.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.0153/0.9055, allocations: 8.32 MB / 0.6067 GB, free: 69.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.9056, allocations: 81.41 kB / 0.6068 GB, free: 69.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.9084, allocations: 2.19 MB / 0.6089 GB, free: 67.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.9086, allocations: 65.7 kB / 0.609 GB, free: 67.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.9094, allocations: 1.6 MB / 0.6105 GB, free: 66.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.9098, allocations: 0.7392 MB / 0.6113 GB, free: 65.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.9099, allocations: 48 kB / 0.6113 GB, free: 65.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.9101, allocations: 394 kB / 0.6117 GB, free: 65.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.9115, allocations: 1.236 MB / 0.6129 GB, free: 64.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.9132, allocations: 1.665 MB / 0.6145 GB, free: 62.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.915, allocations: 1.483 MB / 0.616 GB, free: 61.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.915, allocations: 4 kB / 0.616 GB, free: 61.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00555/0.9205, allocations: 3.918 MB / 0.6198 GB, free: 57.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.9206, allocations: 15.44 kB / 0.6198 GB, free: 57.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.9206, allocations: 15.56 kB / 0.6198 GB, free: 57.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.9223, allocations: 0.7594 MB / 0.6206 GB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.9243, allocations: 0.5353 MB / 0.6211 GB, free: 56.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007714/0.932, allocations: 8.699 MB / 0.6296 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.9343, allocations: 128.8 kB / 0.6297 GB, free: 48.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.9345, allocations: 87.38 kB / 0.6298 GB, free: 48.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004091/0.9349, allocations: 232.8 kB / 0.63 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.9353, allocations: 280.7 kB / 0.6303 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/0.9408, allocations: 3.635 MB / 0.6338 GB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.9408, allocations: 23.95 kB / 0.6339 GB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.9408, allocations: 8 kB / 0.6339 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.9408, allocations: 10.41 kB / 0.6339 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.9518, allocations: 7.939 MB / 0.6416 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.9518, allocations: 12.22 kB / 0.6416 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.9534, allocations: 399.5 kB / 0.642 GB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.9552, allocations: 0.8047 MB / 0.6428 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.9554, allocations: 55.97 kB / 0.6429 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008745/0.9641, allocations: 10.22 MB / 0.6528 GB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.9642, allocations: 15.55 kB / 0.6529 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/0.9712, allocations: 5.603 MB / 0.6583 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.9729, allocations: 0.646 MB / 0.659 GB, free: 18.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.9732, allocations: 51.94 kB / 0.659 GB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.9745, allocations: 123.9 kB / 0.6591 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.9749, allocations: 185.8 kB / 0.6593 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.9751, allocations: 67.97 kB / 0.6594 GB, free: 18.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002157/0.9772, allocations: 1.679 MB / 0.661 GB, free: 16.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9772, allocations: 0 / 0.661 GB, free: 16.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00212/0.9794, allocations: 0.8242 MB / 0.6618 GB, free: 15.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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.000519/0.9799, allocations: 385.1 kB / 0.6622 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004468/0.9844, allocations: 3.77 MB / 0.6659 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9844, allocations: 4.062 kB / 0.6659 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.9873, allocations: 2.439 MB / 0.6682 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.99, allocations: 0.7369 MB / 0.669 GB, free: 8.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.9985, allocations: 6.44 MB / 0.6753 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/1.001, allocations: 2.851 MB / 0.678 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002076/1.003, allocations: 0.6799 MB / 0.6787 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/1.003, allocations: 175.4 kB / 0.6789 GB, free: 14.09 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/1.003, allocations: 4 kB / 0.6789 GB, free: 14.09 MB / 426.7 MB Notification: Performance of Templates: time 0.2958/1.299, allocations: 46.61 MB / 0.7244 GB, free: 91.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches