Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0011/0.0011, allocations: 184.1 kB / 18.04 MB, free: 3.777 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.28/1.28, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007071/0.0007071, allocations: 92.8 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1972, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.317, allocations: 118.5 MB / 495.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.3173, allocations: 95.94 kB / 495.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4265/0.7438, allocations: 132.6 MB / 0.6135 GB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7438, allocations: 0 / 0.6135 GB, free: 3.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004922/0.7444, allocations: 123.9 kB / 0.6136 GB, free: 3.328 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.01473/0.7591, allocations: 5.22 MB / 0.6187 GB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7592, allocations: 8.031 kB / 0.6187 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.7646, allocations: 0.974 MB / 0.6197 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009159/0.7737, allocations: 3.899 MB / 0.6235 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/0.7742, allocations: 366.1 kB / 0.6238 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.7757, allocations: 488.1 kB / 0.6243 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.7916, allocations: 6.778 MB / 0.6309 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/0.7918, allocations: 7.938 kB / 0.6309 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.7929, allocations: 204 kB / 0.6311 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.7932, allocations: 233.8 kB / 0.6313 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.8047, allocations: 5.582 MB / 0.6368 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2191/1.024, allocations: 21.02 MB / 0.6573 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/1.031, allocations: 9.938 MB / 0.667 GB, free: 35.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/1.034, allocations: 2.477 MB / 0.6694 GB, free: 35.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009885/1.044, allocations: 6.534 MB / 0.6758 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.044, allocations: 63.5 kB / 0.6759 GB, free: 35.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 5.03e-06/1.044, allocations: 0 / 0.6759 GB, free: 35.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.01621/1.061, allocations: 9.826 MB / 0.6855 GB, free: 33.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/1.061, allocations: 75.34 kB / 0.6856 GB, free: 33.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/1.065, allocations: 2.967 MB / 0.6884 GB, free: 32.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/1.065, allocations: 67.11 kB / 0.6885 GB, free: 32.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.067, allocations: 2.161 MB / 0.6906 GB, free: 32.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/1.067, allocations: 0.7538 MB / 0.6914 GB, free: 31.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.067, allocations: 51.38 kB / 0.6914 GB, free: 31.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/1.067, allocations: 406.6 kB / 0.6918 GB, free: 31.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/1.07, allocations: 1.271 MB / 0.693 GB, free: 31.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/1.072, allocations: 1.865 MB / 0.6949 GB, free: 30.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/1.075, allocations: 3.259 MB / 0.698 GB, free: 30.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/1.075, allocations: 10.81 kB / 0.6981 GB, free: 30.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.005995/1.081, allocations: 4.176 MB / 0.7021 GB, free: 29.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.081, allocations: 17.25 kB / 0.7021 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.081, allocations: 18.16 kB / 0.7022 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/1.083, allocations: 0.6502 MB / 0.7028 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/1.085, allocations: 0.5505 MB / 0.7033 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/1.093, allocations: 10.05 MB / 0.7131 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.096, allocations: 111.5 kB / 0.7133 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/1.097, allocations: 103.2 kB / 0.7134 GB, free: 24.25 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.002869/1.1, allocations: 1.604 MB / 0.7149 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/1.1, allocations: 318.1 kB / 0.7152 GB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/1.106, allocations: 3.904 MB / 0.719 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.106, allocations: 24.19 kB / 0.7191 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/1.106, allocations: 8.312 kB / 0.7191 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.106, allocations: 17.22 kB / 0.7191 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.118, allocations: 8.544 MB / 0.7274 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.118, allocations: 6.766 kB / 0.7274 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.12, allocations: 346.5 kB / 0.7278 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/1.122, allocations: 0.8142 MB / 0.7286 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.122, allocations: 56.47 kB / 0.7286 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.133, allocations: 14.43 MB / 0.7427 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.133, allocations: 6.906 kB / 0.7427 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007851/1.141, allocations: 5.687 MB / 0.7483 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.143, allocations: 0.691 MB / 0.7489 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/1.143, allocations: 56.5 kB / 0.749 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.145, allocations: 119.9 kB / 0.7491 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/1.145, allocations: 197.9 kB / 0.7493 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.145, allocations: 65.5 kB / 0.7494 GB, free: 3.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002816/1.148, allocations: 2.032 MB / 0.7513 GB, free: 2.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.148, allocations: 0 / 0.7513 GB, free: 2.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003195/1.151, allocations: 0.9803 MB / 0.7523 GB, free: 2.453 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.0006641/1.152, allocations: 456.6 kB / 0.7527 GB, free: 2.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0051/1.157, allocations: 3.878 MB / 0.7565 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.157, allocations: 0 / 0.7565 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003633/1.161, allocations: 2.639 MB / 0.7591 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/1.166, allocations: 0.8839 MB / 0.76 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.185, allocations: 11.18 MB / 0.7709 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/1.189, allocations: 3.43 MB / 0.7742 GB, free: 4.637 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00297/1.192, allocations: 0.7463 MB / 0.775 GB, free: 4.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/1.193, allocations: 191 kB / 0.7751 GB, free: 3.941 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.193, allocations: 0 / 0.7751 GB, free: 3.941 MB / 426.7 MB Notification: Performance of Templates: time 0.287/1.48, allocations: 51.61 MB / 0.8255 GB, free: 89.84 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches