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.001416/0.001416, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008223, allocations: 106.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002223/0.0002223, allocations: 4 kB / 358 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/0.4862, allocations: 120.4 MB / 0.5174 GB, free: 94.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4865, allocations: 103.5 kB / 0.5175 GB, free: 94.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2847/0.7712, allocations: 136.6 MB / 0.6509 GB, free: 5.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7712, allocations: 0 / 0.6509 GB, free: 5.773 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003113/0.7715, allocations: 127.9 kB / 0.651 GB, free: 5.648 MB / 426.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.01182/0.7833, allocations: 5.333 MB / 0.6562 GB, free: 240 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7834, allocations: 8.031 kB / 0.6562 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.7876, allocations: 1.016 MB / 0.6572 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009468/0.7971, allocations: 4.535 MB / 0.6617 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.7974, allocations: 369.7 kB / 0.662 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007619/0.7982, allocations: 487.8 kB / 0.6625 GB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.8087, allocations: 6.715 MB / 0.669 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-05/0.8088, allocations: 8 kB / 0.6691 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.8093, allocations: 204 kB / 0.6692 GB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.8095, allocations: 237.8 kB / 0.6695 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2028/1.012, allocations: 5.578 MB / 0.6749 GB, free: 50.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/1.04, allocations: 21.07 MB / 0.6955 GB, free: 46.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007384/1.047, allocations: 9.948 MB / 0.7052 GB, free: 39.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008481/1.056, allocations: 5.71 MB / 0.7108 GB, free: 38.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.056, allocations: 69.2 kB / 0.7109 GB, free: 38.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 3.807e-06/1.056, allocations: 0.6562 kB / 0.7109 GB, free: 38.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=234): time 0.01588/1.072, allocations: 10.02 MB / 0.7206 GB, free: 36.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.072, allocations: 79.22 kB / 0.7207 GB, free: 36.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/1.076, allocations: 2.65 MB / 0.7233 GB, free: 36.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/1.076, allocations: 68.33 kB / 0.7234 GB, free: 36.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.077, allocations: 2.155 MB / 0.7255 GB, free: 35.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/1.077, allocations: 0.7793 MB / 0.7262 GB, free: 35.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.078, allocations: 52.59 kB / 0.7263 GB, free: 35.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/1.078, allocations: 404.3 kB / 0.7267 GB, free: 34.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.079, allocations: 1.307 MB / 0.728 GB, free: 34.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/1.081, allocations: 1.87 MB / 0.7298 GB, free: 34.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/1.083, allocations: 1.601 MB / 0.7313 GB, free: 33.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.083, allocations: 6.688 kB / 0.7313 GB, free: 33.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.005737/1.089, allocations: 4.237 MB / 0.7355 GB, free: 31.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.089, allocations: 16.19 kB / 0.7355 GB, free: 31.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.089, allocations: 15.38 kB / 0.7355 GB, free: 31.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/1.091, allocations: 0.6459 MB / 0.7361 GB, free: 31.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.093, allocations: 0.5701 MB / 0.7367 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008003/1.101, allocations: 10.22 MB / 0.7467 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.103, allocations: 110.7 kB / 0.7468 GB, free: 23.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/1.103, allocations: 99.2 kB / 0.7469 GB, free: 23.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (277): * Single equations (assignments): 272 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002502/1.105, allocations: 1.606 MB / 0.7485 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/1.106, allocations: 317.6 kB / 0.7488 GB, free: 22.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/1.111, allocations: 4.006 MB / 0.7527 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.111, allocations: 22.81 kB / 0.7527 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.111, allocations: 10.75 kB / 0.7527 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.111, allocations: 13.5 kB / 0.7527 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.123, allocations: 8.717 MB / 0.7612 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.123, allocations: 3.5 kB / 0.7612 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.124, allocations: 365.2 kB / 0.7616 GB, free: 17.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/1.126, allocations: 0.83 MB / 0.7624 GB, free: 17.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.126, allocations: 54.69 kB / 0.7624 GB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.138, allocations: 14.68 MB / 0.7768 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.138, allocations: 3.844 kB / 0.7768 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007643/1.145, allocations: 6.023 MB / 0.7827 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.147, allocations: 0.7019 MB / 0.7833 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/1.147, allocations: 58.36 kB / 0.7834 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.149, allocations: 121.3 kB / 0.7835 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.149, allocations: 200.2 kB / 0.7837 GB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.149, allocations: 64.14 kB / 0.7838 GB, free: 2.355 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002475/1.152, allocations: 2.04 MB / 0.7858 GB, free: 1.582 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.152, allocations: 0 / 0.7858 GB, free: 1.582 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002667/1.154, allocations: 1 MB / 0.7867 GB, free: 1.477 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 158 * 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,(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(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.0006376/1.155, allocations: 485.8 kB / 0.7872 GB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004864/1.16, allocations: 3.95 MB / 0.7911 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.16, allocations: 0 / 0.7911 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003814/1.164, allocations: 2.704 MB / 0.7937 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/1.168, allocations: 0.8735 MB / 0.7946 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.182, allocations: 11.26 MB / 0.8056 GB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/1.185, allocations: 3.525 MB / 0.809 GB, free: 4.566 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002593/1.187, allocations: 0.7516 MB / 0.8097 GB, free: 4.043 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/1.188, allocations: 196.9 kB / 0.8099 GB, free: 3.859 MB / 458.7 MB Notification: Performance of SimCode: time 7.71e-07/1.188, allocations: 0 / 0.8099 GB, free: 3.859 MB / 458.7 MB Notification: Performance of Templates: time 0.2809/1.469, allocations: 51.58 MB / 0.8603 GB, free: 64.48 MB / 474.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