Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 51.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2652, allocations: 49.42 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01385/0.2791, allocations: 12.86 MB / 414.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008879/0.2881, allocations: 4.175 MB / 418.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.2907, allocations: 83.62 kB / 418.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.2938, allocations: 0.9665 MB / 419.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00464/0.2985, allocations: 1.188 MB / 420.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.3003, allocations: 0.5033 MB / 421.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00646/0.3068, allocations: 4.626 MB / 425.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/0.3116, allocations: 3.701 MB / 429.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.3158, allocations: 2.13 MB / 431.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/0.3201, allocations: 2.561 MB / 434.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.3215, allocations: 0.5508 MB / 434.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.3235, allocations: 0.6443 MB / 435.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.325, allocations: 1.519 MB / 436.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.3286, allocations: 2.481 MB / 439.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007735/0.3364, allocations: 7.419 MB / 446.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.026e-06/0.3364, allocations: 0 / 446.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3364, allocations: 3.938 kB / 446.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002687/0.3367, allocations: 0 / 446.8 MB, free: 11.23 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.01371/0.3504, allocations: 4.695 MB / 451.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3505, allocations: 8.031 kB / 451.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.3525, allocations: 0.4956 MB / 452 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006301/0.3588, allocations: 2.563 MB / 454.6 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.3591, allocations: 271 kB / 454.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.3604, allocations: 351.9 kB / 455.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.373, allocations: 5.025 MB / 460.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.3732, allocations: 7.906 kB / 460.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009915/0.3742, allocations: 148 kB / 460.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.3744, allocations: 183 kB / 460.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009513/0.384, allocations: 4.298 MB / 464.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.4145, allocations: 14.72 MB / 479.6 MB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/0.4199, allocations: 4.198 MB / 483.8 MB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003667/0.4236, allocations: 1.983 MB / 485.8 MB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.424, allocations: 139 kB / 485.9 MB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.4241, allocations: 57.03 kB / 485.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 5.401e-06/0.4241, allocations: 0 / 485.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02315/0.4472, allocations: 9.952 MB / 495.9 MB, free: 9.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.4473, allocations: 77.41 kB / 496 MB, free: 9.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/0.4522, allocations: 2.509 MB / 498.5 MB, free: 6.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004236/0.4527, allocations: 69.64 kB / 498.6 MB, free: 6.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.454, allocations: 1.615 MB / 0.4884 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009324/0.4549, allocations: 0.7316 MB / 0.4892 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000992/0.4559, allocations: 420.2 kB / 0.4896 GB, free: 3.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.456, allocations: 301.1 kB / 0.4898 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.4582, allocations: 1.301 MB / 0.4911 GB, free: 2.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.4607, allocations: 1.775 MB / 0.4928 GB, free: 152 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/0.4655, allocations: 3.219 MB / 0.496 GB, free: 12.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.4656, allocations: 4 kB / 0.496 GB, free: 12.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007497/0.4731, allocations: 4.068 MB / 0.5 GB, free: 8.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.4732, allocations: 16.06 kB / 0.5 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.4732, allocations: 12 kB / 0.5 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.4761, allocations: 0.8777 MB / 0.5009 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.4784, allocations: 0.5266 MB / 0.5014 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.4892, allocations: 9.478 MB / 0.5106 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.4918, allocations: 119.9 kB / 0.5107 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/0.4923, allocations: 91.98 kB / 0.5108 GB, free: 13.11 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.002848/0.4951, allocations: 1.215 MB / 0.512 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/0.4961, allocations: 280.6 kB / 0.5123 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/0.5031, allocations: 3.707 MB / 0.5159 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.5032, allocations: 20 kB / 0.5159 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.5032, allocations: 8 kB / 0.5159 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.5032, allocations: 15.95 kB / 0.5159 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.5201, allocations: 8.006 MB / 0.5238 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.5201, allocations: 4.062 kB / 0.5238 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.5219, allocations: 379.5 kB / 0.5241 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.5251, allocations: 0.9368 MB / 0.525 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/0.5254, allocations: 55.97 kB / 0.5251 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.5374, allocations: 11.1 MB / 0.5359 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.5375, allocations: 7.938 kB / 0.5359 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2316/0.769, allocations: 5.505 MB / 0.5413 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/0.771, allocations: 0.63 MB / 0.5419 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/0.7715, allocations: 53.3 kB / 0.542 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.7728, allocations: 121.6 kB / 0.5421 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000378/0.7732, allocations: 178.1 kB / 0.5423 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.7733, allocations: 61.55 kB / 0.5423 GB, free: 128.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.7755, allocations: 1.726 MB / 0.544 GB, free: 127.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7755, allocations: 0 / 0.544 GB, free: 127.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002152/0.7776, allocations: 0.7996 MB / 0.5448 GB, free: 127.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.0005351/0.7782, allocations: 240.7 kB / 0.545 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005048/0.7832, allocations: 3.894 MB / 0.5488 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7833, allocations: 0 / 0.5488 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.7864, allocations: 2.482 MB / 0.5512 GB, free: 124.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/0.7898, allocations: 0.788 MB / 0.552 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.8006, allocations: 7.728 MB / 0.5596 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.8026, allocations: 2.718 MB / 0.5622 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009037/0.8035, allocations: 199.4 kB / 0.5624 GB, free: 116.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8035, allocations: 0 / 0.5624 GB, free: 116.5 MB / 462.1 MB Notification: Performance of Templates: time 0.117/0.9205, allocations: 142.5 MB / 0.7015 GB, free: 6.031 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches