Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 196.6 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.5 MB / 245.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008529/0.0008528, allocations: 98.94 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003519, allocations: 8 kB / 358.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 51.28 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.5229, allocations: 113.1 MB / 0.5102 GB, free: 98.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5232, allocations: 91.91 kB / 0.5103 GB, free: 98.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2397/0.7629, allocations: 93.79 MB / 0.6019 GB, free: 9.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7629, allocations: 0 / 0.6019 GB, free: 9.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006007/0.7635, allocations: 95.88 kB / 0.602 GB, free: 9.797 MB / 378.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.01637/0.7799, allocations: 3.931 MB / 0.6058 GB, free: 5.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.78, allocations: 16.03 kB / 0.6058 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.7836, allocations: 0.5462 MB / 0.6064 GB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.7938, allocations: 2.637 MB / 0.609 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.7943, allocations: 271.4 kB / 0.6092 GB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/0.7963, allocations: 360.2 kB / 0.6096 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.815, allocations: 4.953 MB / 0.6144 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.8153, allocations: 12.12 kB / 0.6144 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.8163, allocations: 151.9 kB / 0.6145 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.8166, allocations: 175.1 kB / 0.6147 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.8291, allocations: 4.053 MB / 0.6187 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03932/0.8684, allocations: 14.96 MB / 0.6333 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/0.8736, allocations: 4.219 MB / 0.6374 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.8765, allocations: 1.895 MB / 0.6393 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.8769, allocations: 143 kB / 0.6394 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.8769, allocations: 68.44 kB / 0.6395 GB, free: 2.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 3.857e-06/0.877, allocations: 4 kB / 0.6395 GB, free: 2.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.0215/0.8985, allocations: 10.14 MB / 0.6494 GB, free: 8.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.8986, allocations: 73.41 kB / 0.6494 GB, free: 8.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/0.9028, allocations: 2.479 MB / 0.6519 GB, free: 5.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004003/0.9033, allocations: 65.64 kB / 0.6519 GB, free: 5.562 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.9045, allocations: 1.607 MB / 0.6535 GB, free: 3.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008383/0.9053, allocations: 0.7432 MB / 0.6542 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.9055, allocations: 44 kB / 0.6543 GB, free: 3.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.9057, allocations: 402.5 kB / 0.6546 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.9077, allocations: 1.293 MB / 0.6559 GB, free: 1.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.9099, allocations: 1.733 MB / 0.6576 GB, free: 15.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/0.9145, allocations: 3.151 MB / 0.6607 GB, free: 12.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.9146, allocations: 4 kB / 0.6607 GB, free: 12.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006973/0.9216, allocations: 4.024 MB / 0.6646 GB, free: 8.172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.9216, allocations: 12 kB / 0.6646 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.9217, allocations: 12 kB / 0.6646 GB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.9235, allocations: 0.7621 MB / 0.6654 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.9254, allocations: 0.5266 MB / 0.6659 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2491/1.175, allocations: 8.729 MB / 0.6744 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/1.177, allocations: 119 kB / 0.6745 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/1.178, allocations: 95.36 kB / 0.6746 GB, free: 81.54 MB / 442.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 () * Number of clocked 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.002772/1.181, allocations: 1.205 MB / 0.6758 GB, free: 81.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007691/1.181, allocations: 276.8 kB / 0.6761 GB, free: 81.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/1.187, allocations: 3.75 MB / 0.6797 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.187, allocations: 18.97 kB / 0.6797 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.187, allocations: 6.781 kB / 0.6797 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.187, allocations: 16.47 kB / 0.6798 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.199, allocations: 8.068 MB / 0.6876 GB, free: 80.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.199, allocations: 3.969 kB / 0.6876 GB, free: 80.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.201, allocations: 400 kB / 0.688 GB, free: 80.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/1.203, allocations: 0.797 MB / 0.6888 GB, free: 80.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.203, allocations: 55.88 kB / 0.6889 GB, free: 80.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008832/1.212, allocations: 10.24 MB / 0.6988 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.212, allocations: 3.219 kB / 0.6989 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007678/1.22, allocations: 5.57 MB / 0.7043 GB, free: 75.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.221, allocations: 0.6449 MB / 0.7049 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.221, allocations: 60.09 kB / 0.705 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.223, allocations: 126.6 kB / 0.7051 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/1.223, allocations: 184.7 kB / 0.7053 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.223, allocations: 61.7 kB / 0.7053 GB, free: 75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002462/1.226, allocations: 1.708 MB / 0.707 GB, free: 74.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.226, allocations: 0 / 0.707 GB, free: 74.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002463/1.228, allocations: 0.8352 MB / 0.7078 GB, free: 74.85 MB / 442.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 () * Number of clocked 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,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006424/1.229, allocations: 382 kB / 0.7082 GB, free: 74.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005533/1.234, allocations: 3.899 MB / 0.712 GB, free: 74.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.234, allocations: 3.969 kB / 0.712 GB, free: 74.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003555/1.238, allocations: 2.498 MB / 0.7144 GB, free: 73.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/1.242, allocations: 0.7678 MB / 0.7152 GB, free: 73.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.254, allocations: 9.08 MB / 0.7241 GB, free: 68.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/1.257, allocations: 2.773 MB / 0.7268 GB, free: 67.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002497/1.259, allocations: 0.6776 MB / 0.7274 GB, free: 67.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/1.26, allocations: 173.5 kB / 0.7276 GB, free: 67.51 MB / 442.7 MB Notification: Performance of SimCode: time 9.41e-07/1.26, allocations: 0 / 0.7276 GB, free: 67.51 MB / 442.7 MB Notification: Performance of Templates: time 0.07215/1.332, allocations: 46.81 MB / 0.7733 GB, free: 48.84 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches