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.001135/0.001135, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0197/0.3324, allocations: 17.45 MB / 426.2 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3458, allocations: 5.957 MB / 432.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.3501, allocations: 115.6 kB / 432.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004893/0.355, allocations: 1.402 MB / 433.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.3624, allocations: 1.814 MB / 435.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.3663, allocations: 1.084 MB / 436.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009259/0.3756, allocations: 6.355 MB / 442.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008601/0.3842, allocations: 5.391 MB / 448.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005634/0.3899, allocations: 2.953 MB / 451.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006088/0.396, allocations: 3.468 MB / 454.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002599/0.3986, allocations: 0.7852 MB / 455.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.4023, allocations: 1.086 MB / 456.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.4054, allocations: 1.862 MB / 458.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006732/0.4121, allocations: 3.361 MB / 461.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.4281, allocations: 10.59 MB / 472.4 MB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4281, allocations: 4 kB / 472.5 MB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4281, allocations: 0 / 472.5 MB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004154/0.4286, allocations: 0 / 472.5 MB, free: 1.594 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.02196/0.4505, allocations: 6.699 MB / 479.1 MB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.4506, allocations: 15.97 kB / 479.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002866/0.4535, allocations: 0.6789 MB / 479.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006985/0.4605, allocations: 1.118 MB / 481 MB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009664/0.4702, allocations: 3.702 MB / 484.7 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004657/0.4707, allocations: 369.7 kB / 485 MB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.4728, allocations: 483.9 kB / 485.5 MB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.4925, allocations: 6.873 MB / 492.4 MB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/0.4928, allocations: 7.953 kB / 492.4 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.4945, allocations: 200 kB / 492.6 MB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002862/0.4948, allocations: 241.8 kB / 492.8 MB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.5103, allocations: 5.941 MB / 498.8 MB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.5548, allocations: 20.78 MB / 0.5074 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.5662, allocations: 9.971 MB / 0.5171 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004919/0.5712, allocations: 2.474 MB / 0.5195 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01403/0.5853, allocations: 6.736 MB / 0.5261 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.5854, allocations: 52.56 kB / 0.5261 GB, free: 13.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.258e-06/0.5854, allocations: 0 / 0.5261 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01936/0.6048, allocations: 9.761 MB / 0.5357 GB, free: 3.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.6049, allocations: 77.41 kB / 0.5357 GB, free: 3.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.6106, allocations: 3.021 MB / 0.5387 GB, free: 252 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003547/0.611, allocations: 61.7 kB / 0.5388 GB, free: 184 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2178/0.8288, allocations: 2.226 MB / 0.5409 GB, free: 121.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009955/0.8298, allocations: 0.7992 MB / 0.5417 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.8309, allocations: 468 kB / 0.5422 GB, free: 120.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.8309, allocations: 309.7 kB / 0.5424 GB, free: 120.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.8332, allocations: 1.293 MB / 0.5437 GB, free: 119.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.8355, allocations: 1.916 MB / 0.5456 GB, free: 118.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.8393, allocations: 3.342 MB / 0.5488 GB, free: 116.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.8393, allocations: 3.969 kB / 0.5488 GB, free: 116.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006582/0.8459, allocations: 4.263 MB / 0.553 GB, free: 115 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.8459, allocations: 13.56 kB / 0.553 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.846, allocations: 19 kB / 0.553 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.8483, allocations: 0.7722 MB / 0.5538 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.8504, allocations: 0.5627 MB / 0.5543 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009061/0.8595, allocations: 10.88 MB / 0.565 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.862, allocations: 106.9 kB / 0.5651 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.8623, allocations: 103.3 kB / 0.5652 GB, free: 106.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.002493/0.8648, allocations: 1.626 MB / 0.5668 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/0.8654, allocations: 333.9 kB / 0.5671 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/0.8708, allocations: 3.909 MB / 0.5709 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.8708, allocations: 22.52 kB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.8708, allocations: 12 kB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.8709, allocations: 11.95 kB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.8818, allocations: 8.568 MB / 0.5793 GB, free: 91.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.8819, allocations: 4 kB / 0.5793 GB, free: 91.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.8833, allocations: 343.8 kB / 0.5796 GB, free: 91.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.8859, allocations: 0.9415 MB / 0.5806 GB, free: 90.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.886, allocations: 59.97 kB / 0.5806 GB, free: 90.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.8974, allocations: 15.76 MB / 0.596 GB, free: 74.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8974, allocations: 4.594 kB / 0.596 GB, free: 74.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007342/0.9048, allocations: 5.716 MB / 0.6016 GB, free: 68.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.9064, allocations: 0.7019 MB / 0.6023 GB, free: 67.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000417/0.9068, allocations: 51.98 kB / 0.6023 GB, free: 67.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.9081, allocations: 108.1 kB / 0.6024 GB, free: 67.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/0.9086, allocations: 189.7 kB / 0.6026 GB, free: 67.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.9087, allocations: 67.92 kB / 0.6027 GB, free: 67.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.9111, allocations: 2.079 MB / 0.6047 GB, free: 65.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9111, allocations: 96 / 0.6047 GB, free: 65.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002733/0.9138, allocations: 0.9511 MB / 0.6056 GB, free: 64.07 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.007366/0.9212, allocations: 6.427 MB / 0.6119 GB, free: 57.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005001/0.9262, allocations: 3.912 MB / 0.6157 GB, free: 53.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.9263, allocations: 4 kB / 0.6157 GB, free: 53.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.9297, allocations: 2.658 MB / 0.6183 GB, free: 50.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/0.9338, allocations: 0.9218 MB / 0.6192 GB, free: 49.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04567/0.9795, allocations: 33.86 MB / 0.6523 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/0.9822, allocations: 3.442 MB / 0.6557 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002442/0.9846, allocations: 0.7645 MB / 0.6564 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/0.9867, allocations: 1.843 MB / 0.6582 GB, free: 9.148 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.9867, allocations: 0 / 0.6582 GB, free: 9.148 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/1.164, allocations: 85.77 MB / 0.742 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/18.36, allocations: 9.562 kB / 0.742 GB, free: 4.066 MB / 0.5294 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.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