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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.8 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 102.8 kB / 292.6 MB, free: 10.74 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 12 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2606, allocations: 50.41 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.6085, allocations: 112.3 MB / 0.503 GB, free: 99.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.6088, allocations: 91.36 kB / 0.5031 GB, free: 99.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2083/0.8171, allocations: 93.53 MB / 0.5944 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8171, allocations: 0 / 0.5944 GB, free: 19.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000384/0.8175, allocations: 107.8 kB / 0.5945 GB, free: 19.33 MB / 378.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.01082/0.8284, allocations: 3.931 MB / 0.5983 GB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8284, allocations: 12.03 kB / 0.5983 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.8309, allocations: 0.5074 MB / 0.5988 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.8377, allocations: 2.633 MB / 0.6014 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.8381, allocations: 271.4 kB / 0.6017 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.8395, allocations: 352.3 kB / 0.602 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.8521, allocations: 4.956 MB / 0.6068 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.8523, allocations: 4.188 kB / 0.6069 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.8535, allocations: 155.9 kB / 0.607 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.8537, allocations: 175.1 kB / 0.6072 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008784/0.8624, allocations: 4.057 MB / 0.6111 GB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/0.8981, allocations: 14.96 MB / 0.6257 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/0.9042, allocations: 4.199 MB / 0.6298 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.9078, allocations: 1.891 MB / 0.6317 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.9084, allocations: 147 kB / 0.6318 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.9084, allocations: 60.5 kB / 0.6319 GB, free: 12.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.501e-06/0.9085, allocations: 4 kB / 0.6319 GB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02498/0.9334, allocations: 10.14 MB / 0.6418 GB, free: 1.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.9335, allocations: 77.41 kB / 0.6419 GB, free: 1.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006187/0.9397, allocations: 2.479 MB / 0.6443 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006403/0.9404, allocations: 61.7 kB / 0.6443 GB, free: 15.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.9422, allocations: 1.6 MB / 0.6459 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.9435, allocations: 0.7433 MB / 0.6466 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005097/0.9441, allocations: 44 kB / 0.6467 GB, free: 12.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003205/0.9444, allocations: 402.5 kB / 0.6471 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.9473, allocations: 1.293 MB / 0.6483 GB, free: 11.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.9504, allocations: 1.737 MB / 0.65 GB, free: 9.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/0.9561, allocations: 3.151 MB / 0.6531 GB, free: 5.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.9562, allocations: 4 kB / 0.6531 GB, free: 5.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008999/0.9652, allocations: 4.036 MB / 0.657 GB, free: 1.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.9653, allocations: 12 kB / 0.657 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.9653, allocations: 12 kB / 0.6571 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.9674, allocations: 0.7583 MB / 0.6578 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.9698, allocations: 0.5266 MB / 0.6583 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.254/1.224, allocations: 8.731 MB / 0.6668 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.227, allocations: 119.6 kB / 0.667 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/1.227, allocations: 83.64 kB / 0.667 GB, free: 72.29 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 () * Number of clocked 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,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002625/1.23, allocations: 1.217 MB / 0.6682 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007921/1.23, allocations: 278.6 kB / 0.6685 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/1.236, allocations: 3.754 MB / 0.6722 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.236, allocations: 21.03 kB / 0.6722 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.236, allocations: 6.625 kB / 0.6722 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.236, allocations: 16.17 kB / 0.6722 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.249, allocations: 8.053 MB / 0.6801 GB, free: 71.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.249, allocations: 4.125 kB / 0.6801 GB, free: 71.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/1.251, allocations: 399.5 kB / 0.6804 GB, free: 71.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/1.252, allocations: 0.7945 MB / 0.6812 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/1.253, allocations: 62.69 kB / 0.6813 GB, free: 71.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/1.262, allocations: 10.25 MB / 0.6913 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.262, allocations: 7.406 kB / 0.6913 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008632/1.271, allocations: 5.572 MB / 0.6967 GB, free: 65.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.272, allocations: 0.6409 MB / 0.6974 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005883/1.273, allocations: 56.81 kB / 0.6974 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.275, allocations: 124.6 kB / 0.6975 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/1.275, allocations: 183.7 kB / 0.6977 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.275, allocations: 60.2 kB / 0.6978 GB, free: 65.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00254/1.278, allocations: 1.711 MB / 0.6994 GB, free: 65.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.278, allocations: 0 / 0.6994 GB, free: 65.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003086/1.281, allocations: 0.8397 MB / 0.7003 GB, free: 65.17 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 () * Number of clocked 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,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006524/1.281, allocations: 375.1 kB / 0.7006 GB, free: 65.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005316/1.287, allocations: 3.903 MB / 0.7044 GB, free: 63.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.287, allocations: 3.719 kB / 0.7044 GB, free: 63.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00329/1.29, allocations: 2.486 MB / 0.7069 GB, free: 62.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.295, allocations: 0.7572 MB / 0.7076 GB, free: 62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.307, allocations: 9.096 MB / 0.7165 GB, free: 57.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/1.309, allocations: 2.771 MB / 0.7192 GB, free: 56.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002222/1.311, allocations: 0.6743 MB / 0.7199 GB, free: 56.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/1.311, allocations: 172.8 kB / 0.72 GB, free: 56.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/1.311, allocations: 3.906 kB / 0.72 GB, free: 56.26 MB / 426.7 MB Notification: Performance of Templates: time 0.07275/1.384, allocations: 46.72 MB / 0.7656 GB, free: 31.88 MB / 426.7 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","../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