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.001289/0.001289, allocations: 107.8 kB / 17.16 MB, free: 6.312 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.001598/0.001598, allocations: 194 kB / 18.08 MB, free: 5.406 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.602/1.602, allocations: 205.1 MB / 223.9 MB, free: 12.52 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.001179/0.001179, allocations: 51.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01498/0.1594, allocations: 12.7 MB / 339.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.1689, allocations: 4.207 MB / 343.5 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.1714, allocations: 59.69 kB / 343.6 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.1739, allocations: 0.8431 MB / 344.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.1773, allocations: 1.08 MB / 345.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1785, allocations: 471.6 kB / 346 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006323/0.1848, allocations: 5.366 MB / 351.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.1883, allocations: 2.969 MB / 354.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.1924, allocations: 1.818 MB / 356.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004242/0.1967, allocations: 2.452 MB / 358.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.1979, allocations: 340 kB / 358.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.2001, allocations: 439.8 kB / 359.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.2019, allocations: 1.293 MB / 360.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004118/0.206, allocations: 2.235 MB / 362.9 MB, free: 452 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.2146, allocations: 7.154 MB / 370 MB, free: 9.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.2147, allocations: 4 kB / 370 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2147, allocations: 0 / 370 MB, free: 9.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002613/0.215, allocations: 3.938 kB / 370 MB, free: 9.258 MB / 318.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.01451/0.2295, allocations: 4.679 MB / 374.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2296, allocations: 12.03 kB / 374.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.2313, allocations: 0.4955 MB / 375.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/0.2368, allocations: 2.376 MB / 377.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.2371, allocations: 267 kB / 377.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009369/0.2381, allocations: 355.9 kB / 378.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2838/0.5219, allocations: 5.019 MB / 383.2 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.5221, allocations: 14.23 kB / 383.2 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004759/0.5226, allocations: 143.9 kB / 383.4 MB, free: 47.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/0.5229, allocations: 183.5 kB / 383.5 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.5348, allocations: 4.29 MB / 387.8 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03088/0.5657, allocations: 14.91 MB / 402.7 MB, free: 36.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.57, allocations: 4.195 MB / 406.9 MB, free: 32.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.5726, allocations: 1.998 MB / 408.9 MB, free: 30.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.5729, allocations: 127.1 kB / 409.1 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.5729, allocations: 56.94 kB / 409.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.687e-06/0.573, allocations: 0 / 409.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01853/0.5915, allocations: 10.02 MB / 419.1 MB, free: 20.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.5916, allocations: 73.41 kB / 419.2 MB, free: 20.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.5954, allocations: 2.506 MB / 421.7 MB, free: 18.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.5955, allocations: 69.64 kB / 421.8 MB, free: 17.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009321/0.5965, allocations: 1.618 MB / 423.4 MB, free: 16.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.5969, allocations: 0.7309 MB / 424.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005864/0.5975, allocations: 420.3 kB / 424.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.5976, allocations: 301.1 kB / 424.8 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.5992, allocations: 1.301 MB / 426.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.6009, allocations: 1.779 MB / 427.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.6043, allocations: 3.22 MB / 431.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6044, allocations: 4 kB / 431.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005682/0.61, allocations: 4.081 MB / 435.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6101, allocations: 12 kB / 435.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.6101, allocations: 16 kB / 435.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.6126, allocations: 0.8716 MB / 436.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.6144, allocations: 0.5305 MB / 436.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00913/0.6235, allocations: 8.732 MB / 445.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.626, allocations: 119.8 kB / 445.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/0.6264, allocations: 91.98 kB / 445.6 MB, free: 9.34 MB / 334.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.00278/0.6292, allocations: 1.204 MB / 446.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/0.63, allocations: 276.7 kB / 447.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006448/0.6365, allocations: 3.726 MB / 450.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.6365, allocations: 24 kB / 450.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.6365, allocations: 4 kB / 450.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.6366, allocations: 19.89 kB / 450.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.6504, allocations: 8.09 MB / 458.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6504, allocations: 4 kB / 458.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.652, allocations: 387.8 kB / 459.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/0.6551, allocations: 0.9212 MB / 460.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.6553, allocations: 59.97 kB / 460.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.6664, allocations: 10.18 MB / 470.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6664, allocations: 8.016 kB / 470.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009192/0.6756, allocations: 5.509 MB / 476 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.6773, allocations: 0.6304 MB / 476.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006968/0.678, allocations: 52.53 kB / 476.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.6797, allocations: 119.9 kB / 476.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005022/0.6802, allocations: 181.7 kB / 477 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.6804, allocations: 60.08 kB / 477 MB, free: 9.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003591/0.684, allocations: 1.727 MB / 478.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.684, allocations: 0.875 kB / 478.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003032/0.687, allocations: 0.7994 MB / 479.5 MB, free: 6.648 MB / 366.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.0006907/0.6877, allocations: 240.9 kB / 479.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006119/0.6938, allocations: 3.877 MB / 483.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6939, allocations: 4 kB / 483.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00381/0.6977, allocations: 2.469 MB / 486.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/0.7018, allocations: 0.7521 MB / 486.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.7161, allocations: 9.353 MB / 496.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003106/0.7192, allocations: 2.765 MB / 499 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002384/0.7216, allocations: 0.6827 MB / 499.7 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007372/0.7224, allocations: 179.4 kB / 499.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7224, allocations: 0 / 499.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of Templates: time 0.08878/0.8112, allocations: 44.56 MB / 0.5317 GB, free: 5.496 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/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