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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001443/0.001449, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001686, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 61.38 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09213, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.195/0.2872, allocations: 17.43 MB / 376.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.299, allocations: 5.965 MB / 382.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003939/0.303, allocations: 115 kB / 382.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.3075, allocations: 1.348 MB / 383.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006927/0.3145, allocations: 1.76 MB / 385.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.318, allocations: 1.092 MB / 386.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009447/0.3275, allocations: 6.342 MB / 393 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009034/0.3366, allocations: 5.382 MB / 398.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006626/0.3432, allocations: 2.949 MB / 401.3 MB, free: 248 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008038/0.3513, allocations: 3.467 MB / 404.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002674/0.354, allocations: 0.787 MB / 405.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.3588, allocations: 1.089 MB / 406.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003306/0.3622, allocations: 1.866 MB / 408.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007078/0.3693, allocations: 3.361 MB / 411.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3825, allocations: 10.55 MB / 422.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3825, allocations: 8 kB / 422.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3825, allocations: 0 / 422.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002948/0.3829, allocations: 0 / 422.4 MB, free: 12.39 MB / 334.1 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.01892/0.4018, allocations: 6.555 MB / 429 MB, free: 5.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4018, allocations: 8.031 kB / 429 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/0.408, allocations: 1.079 MB / 430.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008775/0.4168, allocations: 3.692 MB / 433.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/0.4172, allocations: 369.7 kB / 434.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/0.4194, allocations: 483.9 kB / 434.6 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.4383, allocations: 6.873 MB / 441.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.4385, allocations: 7.984 kB / 441.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/0.4397, allocations: 200 kB / 441.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/0.4399, allocations: 237.8 kB / 441.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.4529, allocations: 5.941 MB / 447.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03482/0.4877, allocations: 20.74 MB / 468.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009632/0.4974, allocations: 9.986 MB / 478.6 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004097/0.5015, allocations: 2.481 MB / 481 MB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.5136, allocations: 6.719 MB / 487.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.5137, allocations: 60.56 kB / 487.8 MB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 4.087e-06/0.5137, allocations: 0 / 487.8 MB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=226): time 0.0185/0.5322, allocations: 9.677 MB / 497.5 MB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5323, allocations: 81.41 kB / 497.6 MB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004767/0.5371, allocations: 3.01 MB / 0.4889 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.5374, allocations: 65.7 kB / 0.4889 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.5389, allocations: 2.176 MB / 0.491 GB, free: 9.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007011/0.5396, allocations: 0.7587 MB / 0.4918 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007279/0.5403, allocations: 469 kB / 0.4922 GB, free: 8.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.5404, allocations: 301.1 kB / 0.4925 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.5424, allocations: 1.286 MB / 0.4938 GB, free: 6.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.5447, allocations: 1.924 MB / 0.4957 GB, free: 4.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.5491, allocations: 3.348 MB / 0.4989 GB, free: 1.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.5491, allocations: 4 kB / 0.4989 GB, free: 1.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006747/0.5559, allocations: 4.245 MB / 0.5031 GB, free: 12.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5559, allocations: 16.09 kB / 0.5031 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.556, allocations: 20 kB / 0.5031 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.5583, allocations: 0.7647 MB / 0.5039 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.5606, allocations: 0.5694 MB / 0.5044 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.5716, allocations: 10.87 MB / 0.515 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.5742, allocations: 108 kB / 0.5151 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.5745, allocations: 100 kB / 0.5152 GB, free: 15.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002901/0.5774, allocations: 1.617 MB / 0.5168 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007771/0.5782, allocations: 320.1 kB / 0.5171 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/0.5847, allocations: 3.91 MB / 0.5209 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.5847, allocations: 20 kB / 0.5209 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.5847, allocations: 12 kB / 0.521 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.5848, allocations: 11.95 kB / 0.521 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.5992, allocations: 8.583 MB / 0.5293 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.5993, allocations: 4 kB / 0.5294 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.6008, allocations: 331.6 kB / 0.5297 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1929/0.7937, allocations: 0.9497 MB / 0.5306 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005004/0.7942, allocations: 60.16 kB / 0.5307 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/0.8097, allocations: 15.73 MB / 0.546 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.8097, allocations: 9.781 kB / 0.546 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.8198, allocations: 5.688 MB / 0.5516 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/0.8217, allocations: 0.6885 MB / 0.5523 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006355/0.8224, allocations: 55.05 kB / 0.5523 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.8239, allocations: 108.2 kB / 0.5524 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005377/0.8245, allocations: 189 kB / 0.5526 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.8246, allocations: 63.92 kB / 0.5527 GB, free: 125.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003353/0.828, allocations: 2.081 MB / 0.5547 GB, free: 125 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.828, allocations: 0 / 0.5547 GB, free: 125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003427/0.8314, allocations: 0.9415 MB / 0.5556 GB, free: 124.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006256/0.8321, allocations: 264.8 kB / 0.5559 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005346/0.8374, allocations: 3.907 MB / 0.5597 GB, free: 123 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8375, allocations: 0 / 0.5597 GB, free: 123 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.8409, allocations: 2.652 MB / 0.5623 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/0.8448, allocations: 0.9273 MB / 0.5632 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.859, allocations: 9.428 MB / 0.5724 GB, free: 116.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.8617, allocations: 3.438 MB / 0.5757 GB, free: 115.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002257/0.8639, allocations: 0.7594 MB / 0.5765 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.8645, allocations: 198.4 kB / 0.5767 GB, free: 114.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.8645, allocations: 0 / 0.5767 GB, free: 114.3 MB / 446.1 MB Notification: Performance of Templates: time 0.07144/0.9359, allocations: 48.24 MB / 0.6238 GB, free: 66.86 MB / 446.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches