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.001485/0.001484, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 202 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.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2447, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01331/0.258, allocations: 12.89 MB / 421.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.2661, allocations: 4.26 MB / 425.9 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.2683, allocations: 79.69 kB / 426 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.2711, allocations: 1.021 MB / 427 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.2752, allocations: 1.227 MB / 428.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.2767, allocations: 0.5266 MB / 428.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005824/0.2826, allocations: 4.649 MB / 433.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004918/0.2875, allocations: 3.686 MB / 437.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.2914, allocations: 2.151 MB / 439.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/0.2957, allocations: 2.561 MB / 441.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.2974, allocations: 0.5547 MB / 442.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.2995, allocations: 0.6521 MB / 443 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.3016, allocations: 1.519 MB / 444.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004166/0.3058, allocations: 2.489 MB / 447 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009234/0.3151, allocations: 7.459 MB / 454.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3151, allocations: 0 / 454.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3151, allocations: 0 / 454.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.3154, allocations: 0 / 454.5 MB, free: 3.578 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.01492/0.3303, allocations: 4.831 MB / 459.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.3304, allocations: 8.031 kB / 459.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002021/0.3324, allocations: 0.502 MB / 459.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.3356, allocations: 0.5487 MB / 460.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006771/0.3424, allocations: 2.608 MB / 463 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.3428, allocations: 259.1 kB / 463.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.3443, allocations: 359.9 kB / 463.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.3569, allocations: 5.029 MB / 468.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001655/0.3571, allocations: 7.953 kB / 468.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009624/0.3581, allocations: 148 kB / 468.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.3583, allocations: 179.1 kB / 469 MB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009657/0.368, allocations: 4.302 MB / 473.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.3962, allocations: 14.76 MB / 488 MB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4015, allocations: 4.19 MB / 492.2 MB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/0.4049, allocations: 1.998 MB / 494.2 MB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.4052, allocations: 135.1 kB / 494.3 MB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.4053, allocations: 52.56 kB / 494.4 MB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.789e-06/0.4053, allocations: 0 / 494.4 MB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02099/0.4263, allocations: 10.02 MB / 0.4926 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.4264, allocations: 77.41 kB / 0.4927 GB, free: 0.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/0.4313, allocations: 2.518 MB / 0.4951 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004244/0.4317, allocations: 61.7 kB / 0.4952 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.4331, allocations: 1.67 MB / 0.4968 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009009/0.434, allocations: 0.763 MB / 0.4976 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.4351, allocations: 420.5 kB / 0.498 GB, free: 11.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4352, allocations: 301.1 kB / 0.4982 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.4374, allocations: 1.301 MB / 0.4995 GB, free: 9.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/0.44, allocations: 1.775 MB / 0.5013 GB, free: 7.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.4448, allocations: 3.215 MB / 0.5044 GB, free: 4.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.4449, allocations: 7.938 kB / 0.5044 GB, free: 4.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007261/0.4521, allocations: 4.084 MB / 0.5084 GB, free: 24 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.4522, allocations: 12 kB / 0.5084 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.4522, allocations: 12.47 kB / 0.5084 GB, free: 0 / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.455, allocations: 0.8756 MB / 0.5093 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.4573, allocations: 0.5227 MB / 0.5098 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.4675, allocations: 9.486 MB / 0.519 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.4697, allocations: 115.9 kB / 0.5192 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/0.4702, allocations: 88 kB / 0.5192 GB, free: 4.484 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.002513/0.4727, allocations: 1.223 MB / 0.5204 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000839/0.4736, allocations: 294.1 kB / 0.5207 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007013/0.4806, allocations: 3.715 MB / 0.5243 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.4807, allocations: 20 kB / 0.5244 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/0.4807, allocations: 8 kB / 0.5244 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/0.4807, allocations: 15.89 kB / 0.5244 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.4974, allocations: 8.022 MB / 0.5322 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.4974, allocations: 4 kB / 0.5322 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.4992, allocations: 383.8 kB / 0.5326 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/0.5023, allocations: 0.929 MB / 0.5335 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/0.5026, allocations: 55.97 kB / 0.5335 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2512/0.7538, allocations: 11.09 MB / 0.5444 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7539, allocations: 5.844 kB / 0.5444 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.7614, allocations: 5.532 MB / 0.5498 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.7629, allocations: 0.6404 MB / 0.5504 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/0.7634, allocations: 53.58 kB / 0.5505 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.7648, allocations: 118.1 kB / 0.5506 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/0.7653, allocations: 180 kB / 0.5507 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.7654, allocations: 64.28 kB / 0.5508 GB, free: 116.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002409/0.7678, allocations: 1.737 MB / 0.5525 GB, free: 116.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7679, allocations: 0 / 0.5525 GB, free: 116.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002786/0.7707, allocations: 0.7975 MB / 0.5533 GB, free: 116.2 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.007905/0.7786, allocations: 6.215 MB / 0.5594 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006636/0.7852, allocations: 3.904 MB / 0.5632 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.7853, allocations: 0 / 0.5632 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005186/0.7905, allocations: 2.481 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.00531/0.7958, allocations: 0.7849 MB / 0.5664 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07323/0.8691, allocations: 29.65 MB / 0.5953 GB, free: 75.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004677/0.8738, allocations: 2.785 MB / 0.598 GB, free: 73.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002416/0.8763, allocations: 0.679 MB / 0.5987 GB, free: 72.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/0.8783, allocations: 1.417 MB / 0.6001 GB, free: 71 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.8783, allocations: 0 / 0.6001 GB, free: 71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.9869, allocations: 73.76 MB / 0.6721 GB, free: 13.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.75, allocations: 11.55 kB / 0.6721 GB, free: 13.88 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