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.001175/0.001175, allocations: 187 kB / 17.92 MB, free: 3.855 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.186/1.186, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009516/0.0009517, allocations: 96.95 kB / 271.2 MB, free: 8.453 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008037/0.0008039, allocations: 43.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2067, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.01615/0.2229, allocations: 16.56 MB / 390.4 MB, free: 32.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.233, allocations: 5.653 MB / 396 MB, free: 27.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.2368, allocations: 91.56 kB / 396.1 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003957/0.2409, allocations: 1.163 MB / 397.3 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005471/0.2464, allocations: 1.639 MB / 398.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.2491, allocations: 0.9677 MB / 399.9 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006797/0.2559, allocations: 6.994 MB / 406.9 MB, free: 16.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005483/0.2614, allocations: 4.425 MB / 411.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004091/0.2655, allocations: 2.377 MB / 413.7 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.2692, allocations: 3.101 MB / 416.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.2706, allocations: 468 kB / 417.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2731, allocations: 0.7495 MB / 418 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.2748, allocations: 1.511 MB / 419.5 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003608/0.2784, allocations: 2.974 MB / 422.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008415/0.2868, allocations: 10.16 MB / 432.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2869, allocations: 0 / 432.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2869, allocations: 0 / 432.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002302/0.2871, allocations: 0 / 432.6 MB, free: 6.453 MB / 314.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.0163/0.3034, allocations: 6.51 MB / 439.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3035, allocations: 8.031 kB / 439.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.3083, allocations: 1.064 MB / 440.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006375/0.3147, allocations: 3.334 MB / 443.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.315, allocations: 361.7 kB / 443.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009847/0.316, allocations: 483.9 kB / 444.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.3272, allocations: 6.873 MB / 451.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/0.3274, allocations: 7.938 kB / 451.3 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004216/0.3278, allocations: 196 kB / 451.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.328, allocations: 237.8 kB / 451.7 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0098/0.3378, allocations: 5.926 MB / 457.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03144/0.3693, allocations: 20.94 MB / 478.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008848/0.3782, allocations: 9.966 MB / 488.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003492/0.3817, allocations: 2.489 MB / 491 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.3925, allocations: 6.506 MB / 497.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.3925, allocations: 60.5 kB / 497.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=219): time 3.637e-06/0.3926, allocations: 0 / 497.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.01619/0.4088, allocations: 9.682 MB / 0.4954 GB, free: 9.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.4088, allocations: 81.39 kB / 0.4955 GB, free: 9.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.4127, allocations: 2.98 MB / 0.4984 GB, free: 6.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.4129, allocations: 69.7 kB / 0.4984 GB, free: 6.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.4142, allocations: 2.16 MB / 0.5005 GB, free: 4.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/0.4148, allocations: 0.7547 MB / 0.5013 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006743/0.4154, allocations: 469 kB / 0.5017 GB, free: 3.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.4155, allocations: 305.1 kB / 0.502 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4173, allocations: 1.297 MB / 0.5033 GB, free: 1.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1501/0.5675, allocations: 1.908 MB / 0.5051 GB, free: 118.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/0.5728, allocations: 3.351 MB / 0.5084 GB, free: 116.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.5728, allocations: 5.438 kB / 0.5084 GB, free: 116.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006911/0.5797, allocations: 4.247 MB / 0.5126 GB, free: 115.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.5798, allocations: 14.59 kB / 0.5126 GB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.5798, allocations: 18.12 kB / 0.5126 GB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.5822, allocations: 0.7689 MB / 0.5134 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.5843, allocations: 0.5746 MB / 0.5139 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007806/0.5921, allocations: 10.03 MB / 0.5237 GB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.594, allocations: 109.8 kB / 0.5238 GB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.5942, allocations: 102.4 kB / 0.5239 GB, free: 107.4 MB / 394.7 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.002231/0.5965, allocations: 1.61 MB / 0.5255 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.5969, allocations: 318.2 kB / 0.5258 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.602, allocations: 3.907 MB / 0.5296 GB, free: 104.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.602, allocations: 22.47 kB / 0.5296 GB, free: 104.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.602, allocations: 7.312 kB / 0.5296 GB, free: 104.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.602, allocations: 15.61 kB / 0.5296 GB, free: 104.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009982/0.612, allocations: 8.571 MB / 0.538 GB, free: 96.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.612, allocations: 2.75 kB / 0.538 GB, free: 96.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.6134, allocations: 354.8 kB / 0.5383 GB, free: 96.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/0.6159, allocations: 0.9286 MB / 0.5393 GB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.616, allocations: 63.92 kB / 0.5393 GB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.6262, allocations: 14.4 MB / 0.5534 GB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6262, allocations: 12 kB / 0.5534 GB, free: 80.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04741/0.6736, allocations: 41.54 MB / 0.594 GB, free: 37.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.6748, allocations: 0.6885 MB / 0.5946 GB, free: 37.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.6752, allocations: 51.94 kB / 0.5947 GB, free: 37.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.6764, allocations: 112 kB / 0.5948 GB, free: 37.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/0.6769, allocations: 189.7 kB / 0.595 GB, free: 36.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.677, allocations: 63.98 kB / 0.595 GB, free: 36.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002298/0.6793, allocations: 2.066 MB / 0.597 GB, free: 34.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6793, allocations: 0 / 0.597 GB, free: 34.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003671/0.683, allocations: 1.319 MB / 0.5983 GB, free: 33.39 MB / 394.7 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%), (2,26,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0005829/0.6836, allocations: 263.9 kB / 0.5986 GB, free: 33.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004657/0.6882, allocations: 3.888 MB / 0.6024 GB, free: 29.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6883, allocations: 8.062 kB / 0.6024 GB, free: 29.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.6913, allocations: 2.632 MB / 0.605 GB, free: 26.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.6945, allocations: 0.858 MB / 0.6058 GB, free: 25.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.7105, allocations: 14.23 MB / 0.6197 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/0.7132, allocations: 3.508 MB / 0.6231 GB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002324/0.7156, allocations: 0.776 MB / 0.6239 GB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.7161, allocations: 203.4 kB / 0.6241 GB, free: 6.762 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7161, allocations: 0 / 0.6241 GB, free: 6.762 MB / 394.7 MB Notification: Performance of Templates: time 0.2249/0.941, allocations: 58.77 MB / 0.6815 GB, free: 118.3 MB / 426.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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