Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_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.001599/0.001599, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 204.7 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.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 55.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2572, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01442/0.2716, allocations: 12.9 MB / 421.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008786/0.2805, allocations: 4.256 MB / 425.9 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.2827, allocations: 79.69 kB / 426 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.2855, allocations: 1.01 MB / 427 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.2892, allocations: 1.231 MB / 428.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2907, allocations: 0.5266 MB / 428.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005128/0.2958, allocations: 4.653 MB / 433.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.3005, allocations: 3.693 MB / 437.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.3042, allocations: 2.142 MB / 439.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.3081, allocations: 2.561 MB / 441.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.3095, allocations: 0.5508 MB / 442.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.3115, allocations: 0.6599 MB / 443 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.3136, allocations: 1.515 MB / 444.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005152/0.3188, allocations: 2.489 MB / 447 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3291, allocations: 7.455 MB / 454.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3291, allocations: 4 kB / 454.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3291, allocations: 4 kB / 454.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002657/0.3294, allocations: 0 / 454.5 MB, free: 3.594 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0123/0.3417, allocations: 4.825 MB / 459.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.3418, allocations: 12.03 kB / 459.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000935/0.3427, allocations: 0.502 MB / 459.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.3447, allocations: 0.5449 MB / 460.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005008/0.3497, allocations: 2.606 MB / 463 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3499, allocations: 271 kB / 463.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006071/0.3505, allocations: 355.9 kB / 463.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/0.3586, allocations: 5.025 MB / 468.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.919e-05/0.3587, allocations: 11.95 kB / 468.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.359, allocations: 143.9 kB / 468.8 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.3592, allocations: 179.1 kB / 469 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006617/0.3658, allocations: 4.298 MB / 473.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.3883, allocations: 14.76 MB / 488 MB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.3924, allocations: 4.202 MB / 492.2 MB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002938/0.3954, allocations: 1.991 MB / 494.2 MB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.3957, allocations: 131.1 kB / 494.3 MB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.3957, allocations: 56.56 kB / 494.4 MB, free: 10.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.737e-06/0.3957, allocations: 0 / 494.4 MB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01874/0.4145, allocations: 10.02 MB / 0.4926 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.4146, allocations: 77.34 kB / 0.4927 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.4188, allocations: 2.526 MB / 0.4951 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004444/0.4193, allocations: 61.7 kB / 0.4952 GB, free: 13.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.4205, allocations: 1.658 MB / 0.4968 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/0.4213, allocations: 0.7747 MB / 0.4976 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006739/0.4219, allocations: 416.4 kB / 0.498 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4221, allocations: 305.1 kB / 0.4982 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.4241, allocations: 1.297 MB / 0.4995 GB, free: 9.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.4263, allocations: 1.778 MB / 0.5013 GB, free: 7.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.4305, allocations: 3.208 MB / 0.5044 GB, free: 4.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.4306, allocations: 7.938 kB / 0.5044 GB, free: 4.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00665/0.4372, allocations: 4.085 MB / 0.5084 GB, free: 44 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4373, allocations: 16 kB / 0.5084 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.4373, allocations: 16 kB / 0.5084 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.44, allocations: 0.8757 MB / 0.5093 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.4421, allocations: 0.5227 MB / 0.5098 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.4523, allocations: 9.478 MB / 0.519 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.4549, allocations: 115.9 kB / 0.5191 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/0.4552, allocations: 83.94 kB / 0.5192 GB, free: 4.508 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002147/0.4573, allocations: 1.231 MB / 0.5204 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/0.458, allocations: 294.2 kB / 0.5207 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005917/0.464, allocations: 3.719 MB / 0.5243 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.464, allocations: 20 kB / 0.5244 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.464, allocations: 8 kB / 0.5244 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.4641, allocations: 15.95 kB / 0.5244 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.4767, allocations: 8.014 MB / 0.5322 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4768, allocations: 8.031 kB / 0.5322 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.4784, allocations: 387.5 kB / 0.5326 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/0.4814, allocations: 0.9252 MB / 0.5335 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.4815, allocations: 55.97 kB / 0.5335 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.208/0.6895, allocations: 11.1 MB / 0.5444 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.6896, allocations: 4.547 kB / 0.5444 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008178/0.6977, allocations: 5.528 MB / 0.5498 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.6993, allocations: 0.6442 MB / 0.5504 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.6997, allocations: 47.62 kB / 0.5505 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.701, allocations: 114.4 kB / 0.5506 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/0.7014, allocations: 182 kB / 0.5507 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.7015, allocations: 65.47 kB / 0.5508 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.7036, allocations: 1.74 MB / 0.5525 GB, free: 116.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7036, allocations: 0 / 0.5525 GB, free: 116.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00202/0.7056, allocations: 0.7988 MB / 0.5533 GB, free: 116.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006814/0.7124, allocations: 6.219 MB / 0.5594 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004735/0.7172, allocations: 3.903 MB / 0.5632 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7172, allocations: 0 / 0.5632 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003017/0.7202, allocations: 2.486 MB / 0.5656 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.7237, allocations: 0.7829 MB / 0.5664 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/0.761, allocations: 29.65 MB / 0.5953 GB, free: 75.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.763, allocations: 2.781 MB / 0.598 GB, free: 73.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001873/0.7649, allocations: 0.6829 MB / 0.5987 GB, free: 72.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.7664, allocations: 1.417 MB / 0.6001 GB, free: 71.05 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7664, allocations: 0 / 0.6001 GB, free: 71.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.8713, allocations: 73.77 MB / 0.6721 GB, free: 13.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.21, allocations: 11.92 kB / 0.6721 GB, free: 13.91 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.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_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches