Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 99.23 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.345e-05, allocations: 0 / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 51.49 MB / 395.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.457, allocations: 119.7 MB / 0.5028 GB, free: 6.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4574, allocations: 95 kB / 0.5029 GB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.551/1.008, allocations: 135 MB / 0.6348 GB, free: 71.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.392e-06/1.008, allocations: 4 kB / 0.6348 GB, free: 71.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004075/1.009, allocations: 125.8 kB / 0.6349 GB, free: 71.73 MB / 442.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.01345/1.022, allocations: 4.815 MB / 0.6396 GB, free: 69.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.022, allocations: 7.625 kB / 0.6396 GB, free: 69.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/1.028, allocations: 1.006 MB / 0.6406 GB, free: 69.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009427/1.037, allocations: 4.512 MB / 0.645 GB, free: 67.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/1.037, allocations: 159.4 kB / 0.6452 GB, free: 67.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/1.039, allocations: 287.2 kB / 0.6454 GB, free: 67.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008444/1.047, allocations: 5.107 MB / 0.6504 GB, free: 65.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008678/1.056, allocations: 5.885 MB / 0.6562 GB, free: 62.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.234e-05/1.056, allocations: 7.844 kB / 0.6562 GB, free: 62.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/1.056, allocations: 9.219 kB / 0.6562 GB, free: 62.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/1.057, allocations: 241.3 kB / 0.6564 GB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/1.084, allocations: 20.1 MB / 0.676 GB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/1.091, allocations: 9.714 MB / 0.6855 GB, free: 43.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/1.094, allocations: 2.305 MB / 0.6878 GB, free: 42.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009521/1.104, allocations: 6.541 MB / 0.6942 GB, free: 39.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.104, allocations: 56.09 kB / 0.6942 GB, free: 39.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 3.948e-06/1.104, allocations: 0 / 0.6942 GB, free: 39.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01328/1.117, allocations: 7.469 MB / 0.7015 GB, free: 35.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.117, allocations: 77.41 kB / 0.7016 GB, free: 35.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/1.12, allocations: 2.107 MB / 0.7037 GB, free: 33.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/1.12, allocations: 29.64 kB / 0.7037 GB, free: 33.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.121, allocations: 2.178 MB / 0.7058 GB, free: 31.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/1.122, allocations: 0.7152 MB / 0.7065 GB, free: 30.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.122, allocations: 0 / 0.7065 GB, free: 30.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/1.122, allocations: 408.1 kB / 0.7069 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/1.123, allocations: 1.155 MB / 0.708 GB, free: 29.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.125, allocations: 1.711 MB / 0.7097 GB, free: 27.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/1.128, allocations: 1.648 MB / 0.7113 GB, free: 26.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.128, allocations: 11.94 kB / 0.7113 GB, free: 26.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005972/1.134, allocations: 3.947 MB / 0.7152 GB, free: 22.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.134, allocations: 12 kB / 0.7152 GB, free: 22.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/1.134, allocations: 20 kB / 0.7152 GB, free: 22.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/1.135, allocations: 0.6223 MB / 0.7158 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.137, allocations: 0.55 MB / 0.7163 GB, free: 21.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/1.145, allocations: 9.619 MB / 0.7257 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/1.148, allocations: 59.84 kB / 0.7258 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/1.148, allocations: 96 kB / 0.7259 GB, free: 11.27 MB / 442.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,(2,100.0%) 26,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004568/1.149, allocations: 168.3 kB / 0.726 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/1.149, allocations: 280.6 kB / 0.7263 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/1.155, allocations: 3.755 MB / 0.73 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/1.155, allocations: 20 kB / 0.73 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.155, allocations: 12 kB / 0.73 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.155, allocations: 11.95 kB / 0.73 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.313/1.468, allocations: 7.729 MB / 0.7376 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.468, allocations: 6.719 kB / 0.7376 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.471, allocations: 345.6 kB / 0.7379 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/1.474, allocations: 0.7878 MB / 0.7387 GB, free: 65.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000294/1.475, allocations: 23.33 kB / 0.7387 GB, free: 65.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.492, allocations: 13.85 MB / 0.7522 GB, free: 57.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.493, allocations: 3.594 kB / 0.7522 GB, free: 57.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008606/1.501, allocations: 5.629 MB / 0.7577 GB, free: 57.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.503, allocations: 0.6471 MB / 0.7584 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/1.503, allocations: 15.77 kB / 0.7584 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.505, allocations: 86.3 kB / 0.7585 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004622/1.505, allocations: 187.6 kB / 0.7586 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.505, allocations: 66.8 kB / 0.7587 GB, free: 57.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002279/1.507, allocations: 1.581 MB / 0.7602 GB, free: 57.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.508, allocations: 0 / 0.7602 GB, free: 57.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003399/1.511, allocations: 0.8728 MB / 0.7611 GB, free: 57.02 MB / 442.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 {(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.0007985/1.512, allocations: 447.6 kB / 0.7615 GB, free: 56.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004599/1.516, allocations: 3.552 MB / 0.765 GB, free: 56.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.516, allocations: 0.9375 kB / 0.765 GB, free: 56.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003035/1.519, allocations: 2.442 MB / 0.7674 GB, free: 55.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.523, allocations: 0.6164 MB / 0.768 GB, free: 55.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.538, allocations: 7.563 MB / 0.7754 GB, free: 54.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/1.542, allocations: 3.518 MB / 0.7788 GB, free: 53.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00266/1.544, allocations: 0.6886 MB / 0.7795 GB, free: 53.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/1.545, allocations: 167.8 kB / 0.7796 GB, free: 53.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/1.545, allocations: 4 kB / 0.7796 GB, free: 53.09 MB / 442.7 MB Notification: Performance of Templates: time 0.08542/1.63, allocations: 38.92 MB / 0.8176 GB, free: 51.02 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches