Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 223.8 MB, free: 8.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009127, allocations: 107.5 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000777/0.0007771, allocations: 47.92 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2038, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01133/0.2152, allocations: 12.72 MB / 386.5 MB, free: 35.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006829/0.222, allocations: 4.206 MB / 390.7 MB, free: 32.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.2245, allocations: 61.78 kB / 390.8 MB, free: 32.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.227, allocations: 0.8544 MB / 391.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.2297, allocations: 1.077 MB / 392.7 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.2306, allocations: 475.6 kB / 393.2 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00356/0.2342, allocations: 5.406 MB / 398.6 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.2365, allocations: 2.981 MB / 401.6 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.2391, allocations: 1.813 MB / 403.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.241, allocations: 2.452 MB / 405.9 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003901/0.2414, allocations: 344 kB / 406.2 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007102/0.2421, allocations: 443.8 kB / 406.6 MB, free: 16.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007009/0.2428, allocations: 1.285 MB / 407.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.2442, allocations: 2.243 MB / 410.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.2475, allocations: 7.15 MB / 417.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2476, allocations: 0 / 417.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2476, allocations: 0 / 417.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.942e-05/0.2476, allocations: 0 / 417.3 MB, free: 5.875 MB / 298.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.006349/0.254, allocations: 4.695 MB / 422 MB, free: 1.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.254, allocations: 12.03 kB / 422 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/0.2549, allocations: 0.4917 MB / 422.5 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/0.2583, allocations: 2.376 MB / 424.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.2585, allocations: 271 kB / 425.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.2589, allocations: 355.9 kB / 425.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006471/0.2654, allocations: 5.029 MB / 430.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/0.2655, allocations: 7.906 kB / 430.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.2658, allocations: 144 kB / 430.7 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.2659, allocations: 187 kB / 430.9 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00583/0.2718, allocations: 4.287 MB / 435.1 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.2908, allocations: 14.91 MB / 450 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.2947, allocations: 4.207 MB / 454.3 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.2974, allocations: 1.991 MB / 456.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.2977, allocations: 127.1 kB / 456.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2977, allocations: 56.56 kB / 456.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 3.366e-06/0.2978, allocations: 4 kB / 456.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.01748/0.3152, allocations: 10.02 MB / 466.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3153, allocations: 77.41 kB / 466.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/0.3186, allocations: 2.506 MB / 469 MB, free: 1.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.3188, allocations: 61.7 kB / 469.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.3198, allocations: 1.623 MB / 470.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/0.3204, allocations: 0.7278 MB / 471.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006605/0.3211, allocations: 412.3 kB / 471.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.3212, allocations: 309.1 kB / 472.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.323, allocations: 1.301 MB / 473.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.3252, allocations: 1.782 MB / 475.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.3291, allocations: 3.211 MB / 478.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.3292, allocations: 11.94 kB / 478.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006223/0.3354, allocations: 4.067 MB / 482.5 MB, free: 3.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3354, allocations: 12 kB / 482.5 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.3355, allocations: 16 kB / 482.5 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/0.338, allocations: 0.8793 MB / 483.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.3399, allocations: 0.5382 MB / 484 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008757/0.3487, allocations: 8.731 MB / 492.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.3505, allocations: 115.9 kB / 492.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.3507, allocations: 80 kB / 492.9 MB, free: 8.43 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.001874/0.3526, allocations: 1.215 MB / 494.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.353, allocations: 272.7 kB / 494.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/0.3587, allocations: 3.719 MB / 498.1 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.3587, allocations: 20 kB / 498.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.3588, allocations: 19.92 kB / 498.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.3588, allocations: 7.969 kB / 498.1 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1666/0.5254, allocations: 8.085 MB / 0.4943 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.5255, allocations: 4.406 kB / 0.4944 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.5272, allocations: 387 kB / 0.4947 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/0.53, allocations: 0.9258 MB / 0.4956 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.5301, allocations: 49.09 kB / 0.4957 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008763/0.5389, allocations: 10.18 MB / 0.5056 GB, free: 98.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5389, allocations: 3.844 kB / 0.5056 GB, free: 98.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04504/0.584, allocations: 38.5 MB / 0.5432 GB, free: 62.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.5851, allocations: 0.6344 MB / 0.5438 GB, free: 61.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.5854, allocations: 55.92 kB / 0.5439 GB, free: 61.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.5866, allocations: 115.9 kB / 0.544 GB, free: 61.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/0.587, allocations: 179 kB / 0.5442 GB, free: 61.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5871, allocations: 59.98 kB / 0.5442 GB, free: 61.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001832/0.589, allocations: 1.731 MB / 0.5459 GB, free: 59.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.589, allocations: 0 / 0.5459 GB, free: 59.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002553/0.5915, allocations: 1.142 MB / 0.547 GB, free: 58.59 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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.000499/0.5921, allocations: 233.9 kB / 0.5473 GB, free: 58.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.5965, allocations: 3.878 MB / 0.551 GB, free: 54.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5965, allocations: 0 / 0.551 GB, free: 54.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.5992, allocations: 2.476 MB / 0.5535 GB, free: 51.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.602, allocations: 0.7497 MB / 0.5542 GB, free: 51.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6146, allocations: 11.69 MB / 0.5656 GB, free: 39.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.6168, allocations: 2.847 MB / 0.5684 GB, free: 36.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002261/0.6191, allocations: 0.714 MB / 0.5691 GB, free: 35.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.6197, allocations: 187.4 kB / 0.5693 GB, free: 35.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6197, allocations: 4 kB / 0.5693 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Templates: time 0.07225/0.692, allocations: 54.85 MB / 0.6228 GB, free: 12.67 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches