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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 105.5 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 183.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 47.94 kB / 329.2 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08296, allocations: 46.63 MB / 375.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.1818/0.2648, allocations: 12.82 MB / 388.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.2725, allocations: 4.252 MB / 392.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.2749, allocations: 66.19 kB / 393 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002731/0.2777, allocations: 0.9646 MB / 394 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.2818, allocations: 1.185 MB / 395.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2833, allocations: 0.5215 MB / 395.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006246/0.2896, allocations: 4.673 MB / 400.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005178/0.2948, allocations: 3.602 MB / 404 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.2996, allocations: 2.117 MB / 406.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.3046, allocations: 2.554 MB / 408.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.3063, allocations: 0.552 MB / 409.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.3095, allocations: 0.6469 MB / 409.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.3122, allocations: 1.526 MB / 411.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005229/0.3174, allocations: 2.48 MB / 413.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009266/0.3267, allocations: 7.416 MB / 421.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3268, allocations: 0 / 421.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3268, allocations: 0 / 421.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002682/0.327, allocations: 0 / 421.2 MB, free: 2.145 MB / 334.1 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.01358/0.3406, allocations: 4.691 MB / 425.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3407, allocations: 12.03 kB / 425.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.3428, allocations: 0.4917 MB / 426.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006106/0.3489, allocations: 2.4 MB / 428.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.3493, allocations: 271 kB / 429.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/0.3506, allocations: 363.8 kB / 429.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.3635, allocations: 5.01 MB / 434.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.3636, allocations: 4 kB / 434.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008009/0.3644, allocations: 152 kB / 434.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.3647, allocations: 183 kB / 434.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009022/0.3737, allocations: 4.294 MB / 439.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02924/0.403, allocations: 14.73 MB / 453.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/0.408, allocations: 4.192 MB / 458 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.4113, allocations: 1.991 MB / 460 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.4117, allocations: 131.6 kB / 460.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.4117, allocations: 60.5 kB / 460.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.238e-06/0.4117, allocations: 3.938 kB / 460.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02146/0.4332, allocations: 10.01 MB / 470.2 MB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.4333, allocations: 77.34 kB / 470.3 MB, free: 136 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/0.4378, allocations: 2.506 MB / 472.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.4381, allocations: 61.7 kB / 472.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.4393, allocations: 1.623 MB / 474.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007321/0.44, allocations: 0.7354 MB / 475.2 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008212/0.4408, allocations: 416.3 kB / 475.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.441, allocations: 301.1 kB / 475.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.443, allocations: 1.301 MB / 477.2 MB, free: 9.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.4454, allocations: 1.782 MB / 479 MB, free: 7.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/0.4499, allocations: 3.219 MB / 482.2 MB, free: 3.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.4499, allocations: 4 kB / 482.2 MB, free: 3.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007054/0.457, allocations: 4.079 MB / 486.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.457, allocations: 15.89 kB / 486.3 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4571, allocations: 16 kB / 486.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.4599, allocations: 0.8712 MB / 487.2 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.462, allocations: 0.5305 MB / 487.7 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4724, allocations: 9.472 MB / 497.2 MB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.4746, allocations: 111.9 kB / 497.3 MB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/0.475, allocations: 92 kB / 497.4 MB, free: 4.109 MB / 414.1 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.002367/0.4774, allocations: 1.223 MB / 498.6 MB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008421/0.4783, allocations: 276.7 kB / 498.9 MB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006733/0.485, allocations: 3.723 MB / 0.4908 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.4851, allocations: 23.98 kB / 0.4909 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.4851, allocations: 8 kB / 0.4909 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.4851, allocations: 11.97 kB / 0.4909 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.5013, allocations: 8.014 MB / 0.4987 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.5013, allocations: 8.062 kB / 0.4987 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.503, allocations: 383.4 kB / 0.4991 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/0.5062, allocations: 0.9291 MB / 0.5 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/0.5066, allocations: 51.98 kB / 0.5 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.519, allocations: 11.06 MB / 0.5108 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-05/0.5191, allocations: 4 kB / 0.5108 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.5294, allocations: 5.512 MB / 0.5162 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/0.5316, allocations: 0.6304 MB / 0.5168 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/0.5327, allocations: 51.98 kB / 0.5169 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.5348, allocations: 119.8 kB / 0.517 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005687/0.5354, allocations: 177.8 kB / 0.5172 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/0.5357, allocations: 63.98 kB / 0.5172 GB, free: 3.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003722/0.5394, allocations: 1.731 MB / 0.5189 GB, free: 1.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5394, allocations: 0 / 0.5189 GB, free: 1.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003627/0.5431, allocations: 0.8007 MB / 0.5197 GB, free: 496 kB / 446.1 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.0008213/0.5439, allocations: 232.5 kB / 0.5199 GB, free: 252 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006755/0.5507, allocations: 3.903 MB / 0.5237 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.5507, allocations: 0 / 0.5237 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004367/0.5551, allocations: 2.488 MB / 0.5262 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/0.56, allocations: 0.7894 MB / 0.5269 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.5751, allocations: 7.721 MB / 0.5345 GB, free: 1.129 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/0.5785, allocations: 2.73 MB / 0.5371 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.5796, allocations: 187.4 kB / 0.5373 GB, free: 14.19 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5796, allocations: 0 / 0.5373 GB, free: 14.19 MB / 478.1 MB Notification: Performance of Templates: time 0.3249/0.9045, allocations: 141.6 MB / 0.6756 GB, free: 39.55 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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