Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 186.9 kB / 16.41 MB, free: 5.727 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.901/1.901, 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.001109/0.001108, allocations: 95.38 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003945, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3602, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.5642, allocations: 111.7 MB / 486.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5646, allocations: 95.95 kB / 486.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6255/1.19, allocations: 93.18 MB / 0.566 GB, free: 49.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.427e-06/1.19, allocations: 0 / 0.566 GB, free: 49.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004563/1.191, allocations: 95.86 kB / 0.5661 GB, free: 49.62 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.01523/1.206, allocations: 3.955 MB / 0.5699 GB, free: 45.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.206, allocations: 8.031 kB / 0.5699 GB, free: 45.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/1.209, allocations: 0.5103 MB / 0.5704 GB, free: 45.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008379/1.217, allocations: 2.56 MB / 0.5729 GB, free: 42.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/1.218, allocations: 267 kB / 0.5732 GB, free: 42.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/1.219, allocations: 355.9 kB / 0.5735 GB, free: 41.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/1.235, allocations: 4.932 MB / 0.5783 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/1.236, allocations: 15.84 kB / 0.5784 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/1.237, allocations: 156.3 kB / 0.5785 GB, free: 36.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/1.237, allocations: 179 kB / 0.5787 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/1.251, allocations: 4.068 MB / 0.5826 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03861/1.289, allocations: 14.95 MB / 0.5972 GB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00675/1.296, allocations: 4.215 MB / 0.6014 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/1.297, allocations: 151 kB / 0.6015 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/1.297, allocations: 56.56 kB / 0.6016 GB, free: 12.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 4.529e-06/1.297, allocations: 0 / 0.6016 GB, free: 12.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.03473/1.332, allocations: 10.18 MB / 0.6115 GB, free: 2.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/1.332, allocations: 73.41 kB / 0.6116 GB, free: 1.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005481/1.337, allocations: 2.213 MB / 0.6137 GB, free: 15.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005514/1.338, allocations: 65.64 kB / 0.6138 GB, free: 15.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.339, allocations: 1.483 MB / 0.6152 GB, free: 14.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.341, allocations: 0.7431 MB / 0.616 GB, free: 13.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/1.341, allocations: 44 kB / 0.616 GB, free: 13.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003223/1.342, allocations: 403.4 kB / 0.6164 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/1.346, allocations: 1.308 MB / 0.6177 GB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.351, allocations: 1.733 MB / 0.6194 GB, free: 9.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/1.355, allocations: 1.552 MB / 0.6209 GB, free: 8.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/1.355, allocations: 4 kB / 0.6209 GB, free: 8.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01275/1.368, allocations: 3.882 MB / 0.6247 GB, free: 4.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/1.368, allocations: 12 kB / 0.6247 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/1.368, allocations: 12 kB / 0.6247 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/1.372, allocations: 0.7506 MB / 0.6254 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004516/1.376, allocations: 0.5266 MB / 0.6259 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/1.394, allocations: 8.957 MB / 0.6347 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.397, allocations: 124 kB / 0.6348 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006989/1.398, allocations: 80 kB / 0.6349 GB, free: 9.422 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 () * 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.003963/1.402, allocations: 1.211 MB / 0.6361 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.403, allocations: 276.7 kB / 0.6363 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.416, allocations: 3.773 MB / 0.64 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.416, allocations: 24 kB / 0.64 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-05/1.416, allocations: 8 kB / 0.64 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-05/1.416, allocations: 11.95 kB / 0.6401 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.318/1.734, allocations: 8.069 MB / 0.6479 GB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/1.734, allocations: 7.094 kB / 0.6479 GB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/1.738, allocations: 392.3 kB / 0.6483 GB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003873/1.742, allocations: 0.8158 MB / 0.6491 GB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006056/1.742, allocations: 63.19 kB / 0.6492 GB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/1.758, allocations: 10.47 MB / 0.6594 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.758, allocations: 6.812 kB / 0.6594 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.773, allocations: 5.829 MB / 0.6651 GB, free: 75.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.775, allocations: 0.6424 MB / 0.6657 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.776, allocations: 51.81 kB / 0.6658 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.779, allocations: 124.6 kB / 0.6659 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007504/1.78, allocations: 180.9 kB / 0.6661 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00032/1.78, allocations: 66.53 kB / 0.6661 GB, free: 75.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004319/1.785, allocations: 1.71 MB / 0.6678 GB, free: 75.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.785, allocations: 0 / 0.6678 GB, free: 75.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004179/1.789, allocations: 0.8385 MB / 0.6686 GB, free: 75.12 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 () * 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,(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.001055/1.79, allocations: 372.8 kB / 0.669 GB, free: 75.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.8, allocations: 3.938 MB / 0.6728 GB, free: 74.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.8, allocations: 0 / 0.6728 GB, free: 74.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006454/1.807, allocations: 2.515 MB / 0.6753 GB, free: 73.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006002/1.813, allocations: 0.7373 MB / 0.676 GB, free: 73.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.836, allocations: 9.12 MB / 0.6849 GB, free: 70.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.84, allocations: 2.792 MB / 0.6876 GB, free: 69.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1.841, allocations: 186.6 kB / 0.6878 GB, free: 69.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/1.841, allocations: 0 / 0.6878 GB, free: 69.54 MB / 410.7 MB Notification: Performance of Templates: time 0.5455/2.387, allocations: 135.4 MB / 0.82 GB, free: 111.9 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches