Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002501/0.002501, allocations: 177.2 kB / 17.41 MB, free: 4.281 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.97/2.97, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.00139/0.00139, allocations: 101 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005654, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5506, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.8158, allocations: 118.5 MB / 494.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000482/0.8164, allocations: 87.95 kB / 494.3 MB, free: 9.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8418/1.658, allocations: 132.6 MB / 0.6122 GB, free: 3.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.108e-06/1.658, allocations: 0 / 0.6122 GB, free: 3.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008218/1.659, allocations: 123.8 kB / 0.6123 GB, free: 3.418 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02806/1.687, allocations: 5.224 MB / 0.6174 GB, free: 14.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/1.687, allocations: 8.031 kB / 0.6174 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/1.699, allocations: 0.9818 MB / 0.6184 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0241/1.723, allocations: 3.903 MB / 0.6222 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/1.724, allocations: 366.1 kB / 0.6226 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005356/1.73, allocations: 488.2 kB / 0.623 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04457/1.774, allocations: 6.774 MB / 0.6296 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/1.775, allocations: 7.922 kB / 0.6296 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003379/1.778, allocations: 208 kB / 0.6298 GB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006269/1.779, allocations: 233.8 kB / 0.6301 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/1.805, allocations: 5.586 MB / 0.6355 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5763/2.381, allocations: 21.01 MB / 0.656 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/2.396, allocations: 9.937 MB / 0.6657 GB, free: 35.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006104/2.402, allocations: 2.477 MB / 0.6682 GB, free: 35.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/2.421, allocations: 6.541 MB / 0.6745 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/2.421, allocations: 60.31 kB / 0.6746 GB, free: 35.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 7.644e-06/2.421, allocations: 0 / 0.6746 GB, free: 35.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.04007/2.462, allocations: 9.832 MB / 0.6842 GB, free: 33.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/2.462, allocations: 74.88 kB / 0.6843 GB, free: 33.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01516/2.477, allocations: 2.959 MB / 0.6872 GB, free: 32.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009849/2.478, allocations: 64.61 kB / 0.6872 GB, free: 32.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003857/2.482, allocations: 2.167 MB / 0.6893 GB, free: 32.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002345/2.484, allocations: 0.7581 MB / 0.6901 GB, free: 31.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/2.485, allocations: 48.06 kB / 0.6901 GB, free: 31.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00038/2.485, allocations: 413.2 kB / 0.6905 GB, free: 31.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005791/2.491, allocations: 1.273 MB / 0.6918 GB, free: 31.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005752/2.497, allocations: 1.861 MB / 0.6936 GB, free: 30.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/2.508, allocations: 3.258 MB / 0.6968 GB, free: 30.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.384e-05/2.508, allocations: 6.625 kB / 0.6968 GB, free: 30.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01815/2.526, allocations: 4.179 MB / 0.7009 GB, free: 29.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/2.526, allocations: 14.3 kB / 0.7009 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/2.527, allocations: 19.34 kB / 0.7009 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003599/2.53, allocations: 0.6453 MB / 0.7015 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/2.535, allocations: 0.5577 MB / 0.7021 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/2.553, allocations: 10.04 MB / 0.7119 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/2.558, allocations: 112.8 kB / 0.712 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007416/2.559, allocations: 104.2 kB / 0.7121 GB, free: 24.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (271): * Single equations (assignments): 266 * 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006034/2.565, allocations: 1.602 MB / 0.7136 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/2.566, allocations: 315.4 kB / 0.7139 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/2.577, allocations: 3.917 MB / 0.7178 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/2.577, allocations: 22.34 kB / 0.7178 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-05/2.577, allocations: 10.41 kB / 0.7178 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/2.577, allocations: 13 kB / 0.7178 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/2.601, allocations: 8.545 MB / 0.7262 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/2.601, allocations: 7.781 kB / 0.7262 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/2.603, allocations: 342.1 kB / 0.7265 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/2.606, allocations: 0.8107 MB / 0.7273 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003898/2.607, allocations: 64.25 kB / 0.7273 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/2.625, allocations: 14.42 MB / 0.7414 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/2.626, allocations: 10.33 kB / 0.7414 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/2.641, allocations: 5.685 MB / 0.747 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/2.644, allocations: 0.6917 MB / 0.7477 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/2.646, allocations: 55.69 kB / 0.7477 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003527/2.65, allocations: 122.9 kB / 0.7478 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009236/2.651, allocations: 195.4 kB / 0.748 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004084/2.651, allocations: 63.48 kB / 0.7481 GB, free: 3.297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006489/2.658, allocations: 2.041 MB / 0.7501 GB, free: 2.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.658, allocations: 0 / 0.7501 GB, free: 2.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00778/2.666, allocations: 0.978 MB / 0.751 GB, free: 2.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00199/2.668, allocations: 456.6 kB / 0.7515 GB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01058/2.678, allocations: 3.87 MB / 0.7552 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/2.678, allocations: 3.938 kB / 0.7552 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00794/2.686, allocations: 2.637 MB / 0.7578 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01433/2.701, allocations: 0.8821 MB / 0.7587 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04741/2.748, allocations: 11.13 MB / 0.7696 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008946/2.757, allocations: 3.332 MB / 0.7728 GB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/2.759, allocations: 210.9 kB / 0.773 GB, free: 4.645 MB / 426.7 MB Notification: Performance of SimCode: time 3.266e-06/2.759, allocations: 0 / 0.773 GB, free: 4.645 MB / 426.7 MB Notification: Performance of Templates: time 0.879/3.638, allocations: 204.4 MB / 0.9726 GB, free: 14.32 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches