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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 87.61 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.572e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08776, allocations: 50.43 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4186, allocations: 111.5 MB / 498.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4189, allocations: 83.95 kB / 499 MB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4455/0.8644, allocations: 92.77 MB / 0.5779 GB, free: 94.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8645, allocations: 0 / 0.5779 GB, free: 94.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004231/0.8649, allocations: 104.1 kB / 0.578 GB, free: 94.48 MB / 426.7 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.009507/0.8744, allocations: 3.553 MB / 0.5815 GB, free: 93.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8745, allocations: 10.44 kB / 0.5815 GB, free: 93.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.8769, allocations: 0.5124 MB / 0.582 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.8824, allocations: 2.533 MB / 0.5845 GB, free: 92.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.8826, allocations: 116.4 kB / 0.5846 GB, free: 92.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.8836, allocations: 217 kB / 0.5848 GB, free: 92.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00662/0.8902, allocations: 3.686 MB / 0.5884 GB, free: 92.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007105/0.8974, allocations: 4.323 MB / 0.5926 GB, free: 90.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.231e-05/0.8975, allocations: 10.72 kB / 0.5926 GB, free: 90.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.8978, allocations: 6.406 kB / 0.5926 GB, free: 90.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.8979, allocations: 174.8 kB / 0.5928 GB, free: 90.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.919, allocations: 14.23 MB / 0.6067 GB, free: 83.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.922, allocations: 4.062 MB / 0.6107 GB, free: 80.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.924, allocations: 1.752 MB / 0.6124 GB, free: 80.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.9243, allocations: 151.3 kB / 0.6125 GB, free: 79.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.9243, allocations: 59.34 kB / 0.6126 GB, free: 79.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 4.358e-06/0.9243, allocations: 0 / 0.6126 GB, free: 79.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.01129/0.9356, allocations: 7.196 MB / 0.6196 GB, free: 76.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.9357, allocations: 76.44 kB / 0.6197 GB, free: 76.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.9379, allocations: 1.739 MB / 0.6214 GB, free: 76.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.938, allocations: 28.77 kB / 0.6214 GB, free: 76.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/0.9388, allocations: 1.606 MB / 0.623 GB, free: 74.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.9392, allocations: 0.7136 MB / 0.6237 GB, free: 74.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.9393, allocations: 0 / 0.6237 GB, free: 74.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.9394, allocations: 399.3 kB / 0.6241 GB, free: 73.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.9407, allocations: 1.194 MB / 0.6252 GB, free: 73.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.9422, allocations: 1.6 MB / 0.6268 GB, free: 72.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.9438, allocations: 1.442 MB / 0.6282 GB, free: 71.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.9439, allocations: 4 kB / 0.6282 GB, free: 71.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004771/0.9486, allocations: 3.669 MB / 0.6318 GB, free: 68.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.9487, allocations: 9.344 kB / 0.6318 GB, free: 68.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.9487, allocations: 16 kB / 0.6318 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.9503, allocations: 0.7363 MB / 0.6325 GB, free: 68.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.9522, allocations: 0.5282 MB / 0.633 GB, free: 67.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007028/0.9593, allocations: 8.341 MB / 0.6412 GB, free: 59.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.9615, allocations: 74.28 kB / 0.6413 GB, free: 59.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.9618, allocations: 87.75 kB / 0.6413 GB, free: 59.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003932/0.9622, allocations: 152.5 kB / 0.6415 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.9626, allocations: 249 kB / 0.6417 GB, free: 59.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.9675, allocations: 3.421 MB / 0.6451 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.9675, allocations: 27.95 kB / 0.6451 GB, free: 56.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.9675, allocations: 4 kB / 0.6451 GB, free: 56.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.9675, allocations: 10.03 kB / 0.6451 GB, free: 56.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.9776, allocations: 7.292 MB / 0.6522 GB, free: 50.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.9777, allocations: 3.938 kB / 0.6522 GB, free: 50.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.9793, allocations: 394.8 kB / 0.6526 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.9812, allocations: 0.7947 MB / 0.6534 GB, free: 49.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.9813, allocations: 27.92 kB / 0.6534 GB, free: 49.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007996/0.9893, allocations: 9.816 MB / 0.663 GB, free: 38.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.9894, allocations: 11.88 kB / 0.663 GB, free: 38.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/0.9961, allocations: 5.38 MB / 0.6683 GB, free: 33.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.9974, allocations: 0.5995 MB / 0.6688 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.9978, allocations: 15.98 kB / 0.6689 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.999, allocations: 87.91 kB / 0.6689 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.9994, allocations: 185.7 kB / 0.6691 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.9996, allocations: 63.98 kB / 0.6692 GB, free: 32.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001642/1.001, allocations: 1.317 MB / 0.6705 GB, free: 31.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.001, allocations: 192 / 0.6705 GB, free: 31.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002303/1.004, allocations: 0.7149 MB / 0.6712 GB, free: 30.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005446/1.004, allocations: 347.9 kB / 0.6715 GB, free: 30.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004352/1.008, allocations: 3.624 MB / 0.675 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.008, allocations: 4 kB / 0.675 GB, free: 26.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/1.011, allocations: 2.338 MB / 0.6773 GB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/1.014, allocations: 0.5272 MB / 0.6778 GB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009602/1.024, allocations: 6.275 MB / 0.684 GB, free: 17.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/1.026, allocations: 2.834 MB / 0.6867 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002057/1.028, allocations: 0.6308 MB / 0.6873 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/1.029, allocations: 163.4 kB / 0.6875 GB, free: 13.53 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/1.029, allocations: 0 / 0.6875 GB, free: 13.53 MB / 426.7 MB Notification: Performance of Templates: time 0.2768/1.305, allocations: 35.56 MB / 0.7222 GB, free: 98.16 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../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