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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.88 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2934, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.02152/0.315, allocations: 17.43 MB / 426.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3277, allocations: 5.96 MB / 432.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/0.3325, allocations: 115.6 kB / 432.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004835/0.3373, allocations: 1.347 MB / 433.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007816/0.3452, allocations: 1.759 MB / 435.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.3488, allocations: 1.089 MB / 436.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009326/0.3582, allocations: 6.348 MB / 442.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007296/0.3655, allocations: 5.387 MB / 448.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005836/0.3714, allocations: 2.95 MB / 451.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006231/0.3776, allocations: 3.468 MB / 454.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001958/0.3796, allocations: 0.7891 MB / 455.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.3829, allocations: 1.089 MB / 456.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.3856, allocations: 1.858 MB / 458.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006861/0.3925, allocations: 3.365 MB / 461.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.4092, allocations: 10.59 MB / 472.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.4093, allocations: 0 / 472.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4093, allocations: 0 / 472.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004073/0.4097, allocations: 0 / 472.3 MB, free: 1.684 MB / 382.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.02106/0.4308, allocations: 6.702 MB / 479 MB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4308, allocations: 8.031 kB / 479 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001457/0.4323, allocations: 0.675 MB / 479.7 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/0.438, allocations: 1.118 MB / 480.8 MB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008057/0.4461, allocations: 3.71 MB / 484.5 MB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.4465, allocations: 365.7 kB / 484.9 MB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.448, allocations: 483.9 kB / 485.4 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.4629, allocations: 6.869 MB / 492.2 MB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.4631, allocations: 11.89 kB / 492.3 MB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006149/0.4637, allocations: 200 kB / 492.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/0.464, allocations: 241.8 kB / 492.7 MB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.4771, allocations: 5.933 MB / 498.6 MB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04262/0.5197, allocations: 20.79 MB / 0.5072 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5304, allocations: 9.964 MB / 0.517 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/0.5348, allocations: 2.485 MB / 0.5194 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.5474, allocations: 6.724 MB / 0.526 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.5475, allocations: 56.56 kB / 0.526 GB, free: 13.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 6.152e-06/0.5475, allocations: 4 kB / 0.526 GB, free: 13.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.02018/0.5677, allocations: 9.753 MB / 0.5355 GB, free: 3.473 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.5678, allocations: 73.41 kB / 0.5356 GB, free: 3.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/0.5734, allocations: 3.021 MB / 0.5386 GB, free: 360 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000526/0.5739, allocations: 61.7 kB / 0.5386 GB, free: 292 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2309/0.8048, allocations: 2.229 MB / 0.5408 GB, free: 122.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.8059, allocations: 0.801 MB / 0.5416 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.8069, allocations: 463.2 kB / 0.542 GB, free: 121.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.807, allocations: 317.3 kB / 0.5423 GB, free: 121.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.8095, allocations: 1.285 MB / 0.5436 GB, free: 120.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.8118, allocations: 1.923 MB / 0.5455 GB, free: 119.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003883/0.8157, allocations: 3.342 MB / 0.5487 GB, free: 117.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.8158, allocations: 3.938 kB / 0.5487 GB, free: 117.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006863/0.8226, allocations: 4.264 MB / 0.5529 GB, free: 115.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.8227, allocations: 19.31 kB / 0.5529 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.856e-05/0.8228, allocations: 15.31 kB / 0.5529 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.8252, allocations: 0.7692 MB / 0.5537 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/0.8274, allocations: 0.5659 MB / 0.5542 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/0.8362, allocations: 10.88 MB / 0.5648 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.8387, allocations: 106.2 kB / 0.5649 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.8391, allocations: 106.1 kB / 0.5651 GB, free: 107.2 MB / 462.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.00287/0.8419, allocations: 1.619 MB / 0.5666 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007136/0.8427, allocations: 337.9 kB / 0.567 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005505/0.8482, allocations: 3.907 MB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.8482, allocations: 20 kB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.8482, allocations: 12 kB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.8482, allocations: 7.969 kB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.8608, allocations: 8.57 MB / 0.5792 GB, free: 93.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.8608, allocations: 3.938 kB / 0.5792 GB, free: 93.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.8622, allocations: 343.8 kB / 0.5795 GB, free: 92.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/0.865, allocations: 0.9441 MB / 0.5804 GB, free: 91.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.8652, allocations: 63.97 kB / 0.5805 GB, free: 91.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.8772, allocations: 15.77 MB / 0.5959 GB, free: 75.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8773, allocations: 4.031 kB / 0.5959 GB, free: 75.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008278/0.8856, allocations: 5.712 MB / 0.6015 GB, free: 69.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.8874, allocations: 0.698 MB / 0.6022 GB, free: 68.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006186/0.8881, allocations: 55.98 kB / 0.6022 GB, free: 68.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.8896, allocations: 107.9 kB / 0.6023 GB, free: 68.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/0.89, allocations: 197.7 kB / 0.6025 GB, free: 68.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.8902, allocations: 63.98 kB / 0.6026 GB, free: 68.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002635/0.8928, allocations: 2.079 MB / 0.6046 GB, free: 66.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.182e-06/0.8928, allocations: 0 / 0.6046 GB, free: 66.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00337/0.8962, allocations: 0.9421 MB / 0.6055 GB, free: 65.2 MB / 462.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.008043/0.9043, allocations: 6.428 MB / 0.6118 GB, free: 58.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005221/0.9095, allocations: 3.91 MB / 0.6156 GB, free: 54.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9096, allocations: 0 / 0.6156 GB, free: 54.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.9134, allocations: 2.662 MB / 0.6182 GB, free: 51.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/0.9179, allocations: 0.9171 MB / 0.6191 GB, free: 51.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04839/0.9663, allocations: 33.87 MB / 0.6522 GB, free: 16.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.9694, allocations: 3.434 MB / 0.6555 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002358/0.9718, allocations: 0.7567 MB / 0.6563 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/0.9739, allocations: 1.847 MB / 0.6581 GB, free: 10.24 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.9739, allocations: 0 / 0.6581 GB, free: 10.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3888/1.363, allocations: 85.77 MB / 0.7418 GB, free: 170.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.53/18.89, allocations: 9.906 kB / 0.7418 GB, free: 170.5 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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