Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.002009/0.002009, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.329/2.329, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.94 kB / 300.6 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1515, allocations: 49.44 MB / 350.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.02716/0.1788, allocations: 12.76 MB / 362.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.1929, allocations: 4.152 MB / 367 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.1964, allocations: 75.62 kB / 367 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.2002, allocations: 0.847 MB / 367.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.2051, allocations: 1.076 MB / 369 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.207, allocations: 463.6 kB / 369.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2629/0.47, allocations: 5.314 MB / 374.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006317/0.4763, allocations: 3.055 MB / 377.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007522/0.4839, allocations: 1.821 MB / 379.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007228/0.4912, allocations: 2.454 MB / 382.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002596/0.4939, allocations: 345.8 kB / 382.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/0.4986, allocations: 445.3 kB / 382.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005145/0.5038, allocations: 1.285 MB / 384.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01136/0.5152, allocations: 2.241 MB / 386.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.5289, allocations: 6.149 MB / 392.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.529, allocations: 4 kB / 392.5 MB, free: 4.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.529, allocations: 0 / 392.5 MB, free: 4.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004303/0.5295, allocations: 0 / 392.5 MB, free: 4.621 MB / 302.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.02527/0.5547, allocations: 4.689 MB / 397.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/0.5548, allocations: 9.062 kB / 397.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.559, allocations: 0.4921 MB / 397.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0098/0.5688, allocations: 2.496 MB / 400.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003858/0.5692, allocations: 261.9 kB / 400.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/0.5712, allocations: 357.6 kB / 400.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/0.5949, allocations: 5.035 MB / 405.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/0.5953, allocations: 7.906 kB / 405.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00231/0.5977, allocations: 148.4 kB / 406 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000369/0.5981, allocations: 179.1 kB / 406.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.6155, allocations: 4.296 MB / 410.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05247/0.668, allocations: 14.9 MB / 425.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009549/0.6776, allocations: 4.196 MB / 429.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005666/0.6834, allocations: 1.987 MB / 431.5 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.6839, allocations: 134.2 kB / 431.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.6841, allocations: 54 kB / 431.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 5.16e-06/0.6841, allocations: 4.375 kB / 431.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02686/0.7109, allocations: 9.951 MB / 441.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.711, allocations: 73.41 kB / 441.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006336/0.7174, allocations: 2.498 MB / 444.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006293/0.7181, allocations: 65.7 kB / 444.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.7199, allocations: 1.624 MB / 445.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001414/0.7213, allocations: 0.7291 MB / 446.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/0.7231, allocations: 420.2 kB / 447.1 MB, free: 480 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7233, allocations: 301.1 kB / 447.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/0.7264, allocations: 1.297 MB / 448.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/0.7298, allocations: 1.781 MB / 450.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/0.7362, allocations: 3.211 MB / 453.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/0.7363, allocations: 4 kB / 453.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01466/0.751, allocations: 4.075 MB / 457.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.7511, allocations: 12 kB / 457.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/0.7512, allocations: 15.98 kB / 457.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00545/0.7567, allocations: 0.8795 MB / 458.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/0.7613, allocations: 0.5266 MB / 459.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.7806, allocations: 8.741 MB / 467.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/0.7853, allocations: 123.8 kB / 468 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000804/0.7862, allocations: 84 kB / 468.1 MB, free: 10.62 MB / 382.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.005397/0.7916, allocations: 1.208 MB / 469.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/0.7935, allocations: 276.7 kB / 469.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.8077, allocations: 3.718 MB / 473.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/0.8078, allocations: 24 kB / 473.3 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-05/0.8079, allocations: 4 kB / 473.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-05/0.808, allocations: 11.95 kB / 473.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/0.8306, allocations: 8.066 MB / 481.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.8307, allocations: 12.28 kB / 481.4 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/0.8326, allocations: 387.5 kB / 481.8 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.8362, allocations: 0.9368 MB / 482.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003803/0.8366, allocations: 51.98 kB / 482.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/0.8502, allocations: 10.21 MB / 493 MB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.8503, allocations: 7.938 kB / 493 MB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.8617, allocations: 5.509 MB / 498.5 MB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003192/0.865, allocations: 0.6265 MB / 499.2 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/0.8663, allocations: 51.98 kB / 499.2 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/0.8689, allocations: 115.9 kB / 499.3 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/0.8697, allocations: 181.7 kB / 499.5 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/0.87, allocations: 55.98 kB / 499.6 MB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004723/0.8747, allocations: 1.727 MB / 0.4895 GB, free: 8.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.8747, allocations: 3.938 kB / 0.4895 GB, free: 8.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005608/0.8803, allocations: 0.8085 MB / 0.4903 GB, free: 7.895 MB / 414.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.001383/0.8818, allocations: 234.5 kB / 0.4906 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009383/0.8912, allocations: 3.873 MB / 0.4943 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.829e-05/0.8913, allocations: 0 / 0.4943 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007644/0.899, allocations: 2.472 MB / 0.4967 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/0.9092, allocations: 0.7513 MB / 0.4975 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/0.9385, allocations: 9.363 MB / 0.5066 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005332/0.9439, allocations: 2.726 MB / 0.5093 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/0.9461, allocations: 191.4 kB / 0.5095 GB, free: 4.078 MB / 430.1 MB Notification: Performance of SimCode: time 3.356e-06/0.9461, allocations: 0 / 0.5095 GB, free: 4.078 MB / 430.1 MB Notification: Performance of Templates: time 0.5664/1.513, allocations: 141.6 MB / 0.6478 GB, free: 44 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches