Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.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.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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007607/0.0007607, allocations: 99.25 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002253/0.0002254, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2139, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.007982/0.222, allocations: 11.41 MB / 418.9 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.2275, allocations: 4.009 MB / 422.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2286, allocations: 75.62 kB / 423 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.23, allocations: 0.7689 MB / 423.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2319, allocations: 1.018 MB / 424.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.2326, allocations: 331.5 kB / 425.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.2355, allocations: 4.785 MB / 429.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.2376, allocations: 2.594 MB / 432.5 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.2393, allocations: 1.58 MB / 434.1 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.2414, allocations: 2.09 MB / 436.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.2418, allocations: 248 kB / 436.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000772/0.2426, allocations: 315.9 kB / 436.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.2436, allocations: 1.129 MB / 437.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.2444, allocations: 0.8394 MB / 438.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.2491, allocations: 6.003 MB / 444.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.2491, allocations: 0 / 444.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2491, allocations: 0 / 444.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.629e-05/0.2492, allocations: 0 / 444.7 MB, free: 6.512 MB / 314.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.006818/0.2561, allocations: 4.017 MB / 448.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2561, allocations: 12.03 kB / 448.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.2575, allocations: 0.5337 MB / 449.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.261, allocations: 2.408 MB / 451.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.2611, allocations: 271 kB / 451.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.2616, allocations: 355.9 kB / 452.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007474/0.2691, allocations: 5.013 MB / 457.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.228e-05/0.2692, allocations: 3.906 kB / 457.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/0.2695, allocations: 148 kB / 457.4 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.2697, allocations: 183 kB / 457.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006572/0.2762, allocations: 4.291 MB / 461.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.2984, allocations: 14.99 MB / 476.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/0.303, allocations: 4.183 MB / 481.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.3061, allocations: 2.006 MB / 483.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.3064, allocations: 131.1 kB / 483.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.3065, allocations: 56.55 kB / 483.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 4.198e-06/0.3065, allocations: 3.938 kB / 483.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01982/0.3263, allocations: 10.06 MB / 493.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3264, allocations: 73.41 kB / 493.4 MB, free: 4.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/0.3307, allocations: 2.49 MB / 495.9 MB, free: 2.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.3309, allocations: 65.7 kB / 495.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.3321, allocations: 1.611 MB / 497.6 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006333/0.3327, allocations: 0.7393 MB / 498.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3328, allocations: 44 kB / 498.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.333, allocations: 406.5 kB / 498.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.335, allocations: 1.301 MB / 0.4883 GB, free: 14.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.3371, allocations: 1.786 MB / 0.4901 GB, free: 12.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.3393, allocations: 1.552 MB / 0.4916 GB, free: 10.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3393, allocations: 4 kB / 0.4916 GB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006441/0.3458, allocations: 4.075 MB / 0.4956 GB, free: 6.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3458, allocations: 11.98 kB / 0.4956 GB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.3458, allocations: 16 kB / 0.4956 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.3486, allocations: 0.8795 MB / 0.4964 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.3506, allocations: 0.5305 MB / 0.497 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2582/0.6087, allocations: 8.722 MB / 0.5055 GB, free: 86.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.6115, allocations: 125.7 kB / 0.5056 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.6119, allocations: 87.62 kB / 0.5057 GB, free: 86.25 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 (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 initialization (252): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002928/0.6148, allocations: 1.22 MB / 0.5069 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009263/0.6158, allocations: 271.2 kB / 0.5071 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/0.622, allocations: 3.735 MB / 0.5108 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/0.6221, allocations: 20.75 kB / 0.5108 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-05/0.6221, allocations: 7.25 kB / 0.5108 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.6221, allocations: 12.08 kB / 0.5108 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.6362, allocations: 8.103 MB / 0.5187 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.6363, allocations: 6.953 kB / 0.5187 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.638, allocations: 384.1 kB / 0.5191 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.641, allocations: 0.9336 MB / 0.52 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.6412, allocations: 52.08 kB / 0.5201 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009778/0.651, allocations: 10.2 MB / 0.53 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.651, allocations: 7.938 kB / 0.53 GB, free: 70.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008122/0.6592, allocations: 5.524 MB / 0.5354 GB, free: 64.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/0.6612, allocations: 0.6418 MB / 0.5361 GB, free: 64.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.6615, allocations: 51.38 kB / 0.5361 GB, free: 63.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6629, allocations: 131.8 kB / 0.5362 GB, free: 63.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004812/0.6633, allocations: 181.7 kB / 0.5364 GB, free: 63.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.6635, allocations: 59.98 kB / 0.5365 GB, free: 63.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002625/0.6661, allocations: 1.716 MB / 0.5381 GB, free: 61.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.6661, allocations: 0 / 0.5381 GB, free: 61.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003142/0.6693, allocations: 0.8004 MB / 0.5389 GB, free: 61.09 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 (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 {(3,88.9%) 25,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007493/0.67, allocations: 217.9 kB / 0.5391 GB, free: 60.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006443/0.6765, allocations: 3.89 MB / 0.5429 GB, free: 56.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.6765, allocations: 0 / 0.5429 GB, free: 56.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003442/0.68, allocations: 2.5 MB / 0.5454 GB, free: 54.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/0.684, allocations: 0.7553 MB / 0.5461 GB, free: 53.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.6982, allocations: 9.108 MB / 0.555 GB, free: 44.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/0.7005, allocations: 2.726 MB / 0.5577 GB, free: 41.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.7017, allocations: 191.4 kB / 0.5578 GB, free: 41.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.005e-06/0.7017, allocations: 0 / 0.5578 GB, free: 41.5 MB / 378.7 MB Notification: Performance of Templates: time 0.3302/1.032, allocations: 141.2 MB / 0.6957 GB, free: 155 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches