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.001447/0.001447, allocations: 181.4 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 1.97/1.97, 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.001135/0.001135, allocations: 93.92 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.864e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09629, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5574, allocations: 111.6 MB / 480.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/0.5578, allocations: 88.58 kB / 480.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.665/1.223, allocations: 93.41 MB / 0.5608 GB, free: 89.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.223, allocations: 0 / 0.5608 GB, free: 89.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004265/1.223, allocations: 99.75 kB / 0.5609 GB, free: 89.41 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.01318/1.237, allocations: 3.548 MB / 0.5643 GB, free: 87.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.237, allocations: 6.625 kB / 0.5643 GB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/1.24, allocations: 0.5064 MB / 0.5648 GB, free: 87.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008256/1.248, allocations: 2.545 MB / 0.5673 GB, free: 87.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/1.248, allocations: 265.8 kB / 0.5676 GB, free: 87.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/1.25, allocations: 349.7 kB / 0.5679 GB, free: 87.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/1.264, allocations: 4.846 MB / 0.5726 GB, free: 86.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/1.265, allocations: 7.859 kB / 0.5726 GB, free: 86.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007881/1.265, allocations: 154.9 kB / 0.5728 GB, free: 86.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/1.266, allocations: 172.5 kB / 0.573 GB, free: 86.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.278, allocations: 3.914 MB / 0.5768 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03846/1.316, allocations: 14.95 MB / 0.5914 GB, free: 77.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/1.323, allocations: 4.148 MB / 0.5954 GB, free: 74.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004265/1.327, allocations: 1.832 MB / 0.5972 GB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/1.327, allocations: 146.6 kB / 0.5974 GB, free: 73.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.328, allocations: 63.41 kB / 0.5974 GB, free: 73.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.18e-06/1.328, allocations: 3.938 kB / 0.5974 GB, free: 73.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02812/1.356, allocations: 8.324 MB / 0.6056 GB, free: 70.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.356, allocations: 77.41 kB / 0.6056 GB, free: 70.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/1.361, allocations: 2.192 MB / 0.6078 GB, free: 68.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005378/1.362, allocations: 65.7 kB / 0.6078 GB, free: 68.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.363, allocations: 1.477 MB / 0.6093 GB, free: 66.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.364, allocations: 0.7331 MB / 0.61 GB, free: 66.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/1.364, allocations: 44 kB / 0.61 GB, free: 65.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/1.364, allocations: 404.8 kB / 0.6104 GB, free: 65.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.368, allocations: 1.241 MB / 0.6116 GB, free: 64.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/1.371, allocations: 1.666 MB / 0.6133 GB, free: 62.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/1.375, allocations: 1.489 MB / 0.6147 GB, free: 61.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/1.375, allocations: 0 / 0.6147 GB, free: 61.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01005/1.385, allocations: 3.741 MB / 0.6184 GB, free: 58.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.385, allocations: 12 kB / 0.6184 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.385, allocations: 12.25 kB / 0.6184 GB, free: 58.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/1.388, allocations: 0.7679 MB / 0.6191 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/1.392, allocations: 0.5227 MB / 0.6196 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.406, allocations: 8.714 MB / 0.6282 GB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/1.409, allocations: 121.4 kB / 0.6283 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005213/1.41, allocations: 90.44 kB / 0.6284 GB, free: 48.71 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.0006398/1.41, allocations: 241.3 kB / 0.6286 GB, free: 48.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/1.411, allocations: 272.7 kB / 0.6289 GB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009358/1.421, allocations: 3.638 MB / 0.6324 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.421, allocations: 24 kB / 0.6324 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.421, allocations: 11.33 kB / 0.6324 GB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.421, allocations: 10.78 kB / 0.6324 GB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.442, allocations: 7.944 MB / 0.6402 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.442, allocations: 7.938 kB / 0.6402 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.445, allocations: 399.7 kB / 0.6406 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003626/1.449, allocations: 0.8008 MB / 0.6414 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/1.45, allocations: 63.92 kB / 0.6414 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/1.464, allocations: 10.2 MB / 0.6514 GB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.464, allocations: 4 kB / 0.6514 GB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/1.477, allocations: 5.611 MB / 0.6569 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.48, allocations: 0.6459 MB / 0.6575 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.481, allocations: 52 kB / 0.6576 GB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003208/1.484, allocations: 131.9 kB / 0.6577 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/1.485, allocations: 185.7 kB / 0.6579 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.485, allocations: 67.48 kB / 0.6579 GB, free: 18.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003998/1.489, allocations: 1.679 MB / 0.6596 GB, free: 17.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.489, allocations: 0 / 0.6596 GB, free: 17.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004185/1.494, allocations: 0.8322 MB / 0.6604 GB, free: 16.46 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.001101/1.495, allocations: 372.3 kB / 0.6607 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008889/1.504, allocations: 3.777 MB / 0.6644 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.504, allocations: 0 / 0.6644 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006008/1.51, allocations: 2.437 MB / 0.6668 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006015/1.516, allocations: 0.7471 MB / 0.6675 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.534, allocations: 6.456 MB / 0.6738 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00439/1.538, allocations: 2.792 MB / 0.6766 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/1.54, allocations: 187.4 kB / 0.6767 GB, free: 15.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/1.54, allocations: 4 kB / 0.6768 GB, free: 15.59 MB / 426.7 MB Notification: Performance of Templates: time 0.5184/2.058, allocations: 135.3 MB / 0.8088 GB, free: 23.96 MB / 426.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