Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009958/0.0009958, allocations: 105.7 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009432/0.0009434, allocations: 55.84 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2183, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01196/0.2303, allocations: 12.78 MB / 419.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007803/0.2381, allocations: 4.216 MB / 424.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/0.2408, allocations: 71.69 kB / 424.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2436, allocations: 0.843 MB / 425 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.2478, allocations: 1.08 MB / 426 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2493, allocations: 467.6 kB / 426.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004629/0.2539, allocations: 5.371 MB / 431.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.2568, allocations: 3.056 MB / 434.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.2605, allocations: 1.84 MB / 436.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/0.2641, allocations: 2.455 MB / 439.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009185/0.265, allocations: 340 kB / 439.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.2665, allocations: 455.8 kB / 440 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.2677, allocations: 1.293 MB / 441.3 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002735/0.2704, allocations: 2.231 MB / 443.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.2765, allocations: 7.173 MB / 450.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2766, allocations: 0 / 450.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2766, allocations: 0 / 450.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.2767, allocations: 0 / 450.7 MB, free: 15.98 MB / 330.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.01067/0.2874, allocations: 4.691 MB / 455.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2875, allocations: 8.031 kB / 455.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.2892, allocations: 0.5267 MB / 455.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.2939, allocations: 2.501 MB / 458.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.2941, allocations: 267 kB / 458.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.2946, allocations: 359.9 kB / 459 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008311/0.303, allocations: 5.021 MB / 464.1 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-05/0.3031, allocations: 15.84 kB / 464.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.3034, allocations: 144 kB / 464.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.3036, allocations: 183.1 kB / 464.4 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007138/0.3107, allocations: 4.291 MB / 468.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.3334, allocations: 14.9 MB / 483.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/0.3375, allocations: 4.187 MB / 487.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/0.3404, allocations: 1.998 MB / 489.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.3407, allocations: 135.1 kB / 489.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.3408, allocations: 56.55 kB / 490 MB, free: 7.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.566e-06/0.3408, allocations: 4 kB / 490 MB, free: 7.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01884/0.3596, allocations: 9.955 MB / 499.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3597, allocations: 73.41 kB / 500 MB, free: 13.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.3631, allocations: 2.51 MB / 0.4907 GB, free: 11.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.3632, allocations: 61.7 kB / 0.4908 GB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3643, allocations: 1.615 MB / 0.4924 GB, free: 9.473 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.3648, allocations: 0.7317 MB / 0.4931 GB, free: 8.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006539/0.3655, allocations: 416.2 kB / 0.4935 GB, free: 8.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.3656, allocations: 305.1 kB / 0.4938 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.3675, allocations: 1.297 MB / 0.495 GB, free: 6.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.3697, allocations: 1.786 MB / 0.4968 GB, free: 4.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/0.3739, allocations: 3.204 MB / 0.4999 GB, free: 1.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3739, allocations: 4 kB / 0.4999 GB, free: 1.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.1801/0.554, allocations: 4.067 MB / 0.5039 GB, free: 88.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5541, allocations: 11 kB / 0.5039 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.5541, allocations: 12.38 kB / 0.5039 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/0.5569, allocations: 0.877 MB / 0.5047 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.559, allocations: 0.5292 MB / 0.5053 GB, free: 88.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007917/0.567, allocations: 8.731 MB / 0.5138 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.5689, allocations: 120.9 kB / 0.5139 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.5691, allocations: 83.31 kB / 0.514 GB, free: 82.07 MB / 378.7 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.001594/0.5707, allocations: 1.223 MB / 0.5152 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.5712, allocations: 271.3 kB / 0.5154 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.5763, allocations: 3.72 MB / 0.5191 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5763, allocations: 22.59 kB / 0.5191 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5764, allocations: 7.719 kB / 0.5191 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.5764, allocations: 12.17 kB / 0.5191 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.5871, allocations: 8.088 MB / 0.527 GB, free: 73.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.557e-06/0.5872, allocations: 6.062 kB / 0.527 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.5886, allocations: 379.8 kB / 0.5274 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/0.5912, allocations: 0.9307 MB / 0.5283 GB, free: 71.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.5914, allocations: 55.97 kB / 0.5283 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007787/0.5991, allocations: 10.21 MB / 0.5383 GB, free: 61.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5992, allocations: 4 kB / 0.5383 GB, free: 61.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04935/0.6485, allocations: 38.46 MB / 0.5759 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.65, allocations: 0.6304 MB / 0.5765 GB, free: 21.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/0.6503, allocations: 55.92 kB / 0.5765 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.6516, allocations: 120 kB / 0.5767 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004836/0.6521, allocations: 173.8 kB / 0.5768 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.6523, allocations: 59.98 kB / 0.5769 GB, free: 21.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002303/0.6546, allocations: 1.734 MB / 0.5786 GB, free: 19.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6546, allocations: 0 / 0.5786 GB, free: 19.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003193/0.6578, allocations: 1.144 MB / 0.5797 GB, free: 18.18 MB / 378.7 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.0005612/0.6584, allocations: 241.2 kB / 0.5799 GB, free: 17.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004994/0.6634, allocations: 3.875 MB / 0.5837 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.6634, allocations: 0 / 0.5837 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.6666, allocations: 2.477 MB / 0.5861 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.6701, allocations: 0.745 MB / 0.5869 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.6842, allocations: 11.7 MB / 0.5983 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/0.687, allocations: 2.853 MB / 0.6011 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002341/0.6893, allocations: 0.7218 MB / 0.6018 GB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.69, allocations: 187.4 kB / 0.6019 GB, free: 11.12 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.69, allocations: 1.422 kB / 0.6019 GB, free: 11.12 MB / 394.7 MB Notification: Performance of Templates: time 0.08889/0.7789, allocations: 54.88 MB / 0.6555 GB, free: 4.633 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches