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.001487/0.001487, allocations: 182.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 2.161/2.161, 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.001068/0.001068, allocations: 86.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.911e-05, allocations: 8 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09914, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.5731, allocations: 118.1 MB / 487.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.5734, allocations: 90.7 kB / 487.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8116/1.385, allocations: 133 MB / 0.6057 GB, free: 77.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.385, allocations: 0 / 0.6057 GB, free: 77.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000532/1.386, allocations: 127.8 kB / 0.6058 GB, free: 77.07 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01984/1.406, allocations: 4.759 MB / 0.6105 GB, free: 72.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.406, allocations: 12.03 kB / 0.6105 GB, free: 72.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007678/1.413, allocations: 0.9725 MB / 0.6114 GB, free: 71.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/1.43, allocations: 4.492 MB / 0.6158 GB, free: 66.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004787/1.43, allocations: 360.8 kB / 0.6162 GB, free: 66.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/1.432, allocations: 490.4 kB / 0.6166 GB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02614/1.458, allocations: 6.609 MB / 0.6231 GB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002832/1.459, allocations: 3.906 kB / 0.6231 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/1.461, allocations: 208.3 kB / 0.6233 GB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00032/1.461, allocations: 237.8 kB / 0.6235 GB, free: 58.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/1.478, allocations: 5.404 MB / 0.6288 GB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/1.534, allocations: 21 MB / 0.6493 GB, free: 32.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/1.548, allocations: 9.825 MB / 0.6589 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/1.554, allocations: 2.403 MB / 0.6612 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/1.572, allocations: 6.502 MB / 0.6676 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.572, allocations: 56.56 kB / 0.6677 GB, free: 12.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 5.3e-06/1.572, allocations: 0 / 0.6677 GB, free: 12.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.01991/1.592, allocations: 7.256 MB / 0.6747 GB, free: 4.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.592, allocations: 77.41 kB / 0.6748 GB, free: 4.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/1.598, allocations: 2.616 MB / 0.6774 GB, free: 2.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004995/1.599, allocations: 69.7 kB / 0.6774 GB, free: 2.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.6, allocations: 2.009 MB / 0.6794 GB, free: 48 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/1.602, allocations: 0.7492 MB / 0.6801 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.602, allocations: 52 kB / 0.6802 GB, free: 15.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/1.602, allocations: 411.9 kB / 0.6806 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.606, allocations: 1.204 MB / 0.6817 GB, free: 13.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/1.61, allocations: 1.784 MB / 0.6835 GB, free: 11.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/1.614, allocations: 1.501 MB / 0.685 GB, free: 10.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/1.614, allocations: 4 kB / 0.685 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01176/1.626, allocations: 3.84 MB / 0.6887 GB, free: 6.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/1.626, allocations: 15.94 kB / 0.6887 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/1.626, allocations: 20.25 kB / 0.6887 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/1.629, allocations: 0.6436 MB / 0.6894 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/1.634, allocations: 0.5538 MB / 0.6899 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3727/2.007, allocations: 9.988 MB / 0.6997 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/2.011, allocations: 107.3 kB / 0.6998 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006257/2.011, allocations: 100.1 kB / 0.6999 GB, free: 81.5 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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.0006718/2.012, allocations: 259.6 kB / 0.7001 GB, free: 81.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/2.013, allocations: 313.7 kB / 0.7004 GB, free: 81.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/2.025, allocations: 3.773 MB / 0.7041 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/2.025, allocations: 21.59 kB / 0.7041 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.028e-05/2.025, allocations: 14.94 kB / 0.7041 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.247e-05/2.025, allocations: 14.17 kB / 0.7041 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/2.051, allocations: 8.399 MB / 0.7123 GB, free: 80.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/2.051, allocations: 2.906 kB / 0.7123 GB, free: 80.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003207/2.054, allocations: 335.8 kB / 0.7127 GB, free: 80.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/2.058, allocations: 0.8275 MB / 0.7135 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005686/2.059, allocations: 57.45 kB / 0.7135 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.08, allocations: 14.37 MB / 0.7276 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.08, allocations: 10.14 kB / 0.7276 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/2.094, allocations: 5.664 MB / 0.7331 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/2.097, allocations: 0.6868 MB / 0.7338 GB, free: 71.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/2.098, allocations: 57 kB / 0.7338 GB, free: 71.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/2.102, allocations: 120 kB / 0.7339 GB, free: 71.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009406/2.103, allocations: 187.5 kB / 0.7341 GB, free: 71.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/2.103, allocations: 62.27 kB / 0.7342 GB, free: 71.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005385/2.109, allocations: 2.01 MB / 0.7361 GB, free: 71.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.109, allocations: 0 / 0.7361 GB, free: 71.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005716/2.114, allocations: 0.9798 MB / 0.7371 GB, free: 71.26 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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 {(3,88.9%) 25,(1,100.0%) 8,(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.001385/2.116, allocations: 491.8 kB / 0.7376 GB, free: 71.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009431/2.125, allocations: 3.737 MB / 0.7412 GB, free: 69.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/2.125, allocations: 7.469 kB / 0.7412 GB, free: 69.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006467/2.132, allocations: 2.553 MB / 0.7437 GB, free: 68.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006764/2.139, allocations: 0.8693 MB / 0.7446 GB, free: 68.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/2.162, allocations: 7.688 MB / 0.7521 GB, free: 65.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006264/2.168, allocations: 3.427 MB / 0.7554 GB, free: 63.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/2.17, allocations: 203.8 kB / 0.7556 GB, free: 63.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/2.17, allocations: 0 / 0.7556 GB, free: 63.77 MB / 426.7 MB Notification: Performance of Templates: time 0.6323/2.802, allocations: 192.9 MB / 0.944 GB, free: 59.58 MB / 442.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