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.002185/0.002185, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001076/0.001076, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.316e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.09905, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.5805, allocations: 111.7 MB / 480.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.5809, allocations: 87.7 kB / 480.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6983/1.279, allocations: 93.56 MB / 0.561 GB, free: 89.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.279, allocations: 4 kB / 0.561 GB, free: 89.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004403/1.28, allocations: 101.3 kB / 0.5611 GB, free: 89.44 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.01371/1.293, allocations: 3.544 MB / 0.5646 GB, free: 88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/1.294, allocations: 7.219 kB / 0.5646 GB, free: 88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/1.297, allocations: 0.5025 MB / 0.5651 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009043/1.306, allocations: 2.552 MB / 0.5676 GB, free: 87.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/1.306, allocations: 264.5 kB / 0.5678 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/1.308, allocations: 352.1 kB / 0.5681 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/1.323, allocations: 4.849 MB / 0.5729 GB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/1.323, allocations: 10.97 kB / 0.5729 GB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006428/1.323, allocations: 148.8 kB / 0.573 GB, free: 86.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/1.324, allocations: 177.6 kB / 0.5732 GB, free: 86.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/1.336, allocations: 3.913 MB / 0.577 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03955/1.375, allocations: 14.95 MB / 0.5916 GB, free: 77.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006362/1.382, allocations: 4.156 MB / 0.5957 GB, free: 74.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004289/1.386, allocations: 1.831 MB / 0.5975 GB, free: 73.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/1.387, allocations: 147.8 kB / 0.5976 GB, free: 73.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.387, allocations: 56.03 kB / 0.5977 GB, free: 73.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 6.823e-06/1.387, allocations: 0 / 0.5977 GB, free: 73.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03022/1.417, allocations: 8.331 MB / 0.6058 GB, free: 70.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/1.417, allocations: 77.41 kB / 0.6059 GB, free: 69.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/1.422, allocations: 2.183 MB / 0.608 GB, free: 67.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005451/1.423, allocations: 65.7 kB / 0.6081 GB, free: 67.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.424, allocations: 1.484 MB / 0.6095 GB, free: 66.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009019/1.425, allocations: 0.7409 MB / 0.6102 GB, free: 65.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/1.425, allocations: 44 kB / 0.6103 GB, free: 65.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/1.425, allocations: 401.3 kB / 0.6107 GB, free: 65.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/1.428, allocations: 1.238 MB / 0.6119 GB, free: 64.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/1.431, allocations: 1.674 MB / 0.6135 GB, free: 62.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/1.434, allocations: 1.486 MB / 0.615 GB, free: 61.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/1.434, allocations: 0 / 0.615 GB, free: 61.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01115/1.446, allocations: 3.74 MB / 0.6186 GB, free: 58.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/1.446, allocations: 12 kB / 0.6186 GB, free: 58.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/1.446, allocations: 12 kB / 0.6186 GB, free: 58.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/1.449, allocations: 0.7584 MB / 0.6194 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/1.454, allocations: 0.5356 MB / 0.6199 GB, free: 57.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.468, allocations: 8.706 MB / 0.6284 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/1.472, allocations: 125.9 kB / 0.6285 GB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007781/1.473, allocations: 80 kB / 0.6286 GB, free: 48.58 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.0007262/1.474, allocations: 241.1 kB / 0.6288 GB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.475, allocations: 276.7 kB / 0.6291 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.486, allocations: 3.637 MB / 0.6326 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/1.486, allocations: 23.95 kB / 0.6327 GB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.486, allocations: 12 kB / 0.6327 GB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/1.486, allocations: 10.59 kB / 0.6327 GB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02545/1.512, allocations: 7.936 MB / 0.6404 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.664e-05/1.512, allocations: 4 kB / 0.6404 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/1.515, allocations: 399.8 kB / 0.6408 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003934/1.519, allocations: 0.8118 MB / 0.6416 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006/1.52, allocations: 51.98 kB / 0.6417 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/1.536, allocations: 10.22 MB / 0.6516 GB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.536, allocations: 4 kB / 0.6516 GB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.55, allocations: 5.616 MB / 0.6571 GB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/1.553, allocations: 0.642 MB / 0.6578 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008351/1.554, allocations: 55.94 kB / 0.6578 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/1.557, allocations: 127.9 kB / 0.6579 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/1.557, allocations: 181.8 kB / 0.6581 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.557, allocations: 59.98 kB / 0.6582 GB, free: 18.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003944/1.561, allocations: 1.679 MB / 0.6598 GB, free: 17.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.562, allocations: 0 / 0.6598 GB, free: 17.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004294/1.566, allocations: 0.8399 MB / 0.6606 GB, free: 16.19 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.0009111/1.567, allocations: 383.1 kB / 0.661 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008738/1.576, allocations: 3.773 MB / 0.6647 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.576, allocations: 0.8125 kB / 0.6647 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006078/1.582, allocations: 2.436 MB / 0.6671 GB, free: 9.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/1.588, allocations: 0.7361 MB / 0.6678 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.609, allocations: 6.45 MB / 0.6741 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005204/1.614, allocations: 2.789 MB / 0.6768 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.616, allocations: 187.4 kB / 0.677 GB, free: 15.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.616, allocations: 0 / 0.677 GB, free: 15.33 MB / 426.7 MB Notification: Performance of Templates: time 0.6201/2.236, allocations: 135.3 MB / 0.8091 GB, free: 23.81 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/jenkins1/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