Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001756/0.001757, allocations: 190 kB / 18.07 MB, free: 5.414 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.848/1.848, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001345/0.001345, allocations: 51.92 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1591, allocations: 46.62 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01667/0.1758, allocations: 12.7 MB / 339.3 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.188, allocations: 4.196 MB / 343.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004999/0.193, allocations: 59.69 kB / 343.6 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005419/0.1986, allocations: 0.8469 MB / 344.4 MB, free: 3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.2067, allocations: 1.088 MB / 345.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.2098, allocations: 475.6 kB / 346 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.2206, allocations: 5.37 MB / 351.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007049/0.2278, allocations: 2.961 MB / 354.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006794/0.2346, allocations: 1.81 MB / 356.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/0.2412, allocations: 2.452 MB / 358.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002265/0.2435, allocations: 340 kB / 358.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.2469, allocations: 447.8 kB / 359.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003321/0.2502, allocations: 1.277 MB / 360.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005981/0.2562, allocations: 2.239 MB / 362.8 MB, free: 460 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009517/0.2658, allocations: 7.158 MB / 370 MB, free: 9.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.2659, allocations: 8 kB / 370 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.2659, allocations: 0 / 370 MB, free: 9.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003219/0.2662, allocations: 0 / 370 MB, free: 9.262 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.01551/0.2817, allocations: 4.679 MB / 374.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.2818, allocations: 8.031 kB / 374.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.2835, allocations: 0.4956 MB / 375.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.2885, allocations: 2.38 MB / 377.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.2887, allocations: 271 kB / 377.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006518/0.2894, allocations: 351.9 kB / 378.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3249/0.6143, allocations: 5.02 MB / 383.2 MB, free: 47.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.6144, allocations: 10.62 kB / 383.2 MB, free: 47.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.6148, allocations: 145.7 kB / 383.3 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/0.6151, allocations: 181 kB / 383.5 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.626, allocations: 4.292 MB / 387.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.6572, allocations: 14.91 MB / 402.7 MB, free: 36.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/0.6616, allocations: 4.208 MB / 406.9 MB, free: 33.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.6643, allocations: 1.987 MB / 408.9 MB, free: 31.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.6646, allocations: 134.9 kB / 409 MB, free: 30.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.6647, allocations: 52.56 kB / 409.1 MB, free: 30.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.046e-06/0.6647, allocations: 4 kB / 409.1 MB, free: 30.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01815/0.6828, allocations: 10.01 MB / 419.1 MB, free: 20.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.6829, allocations: 81.41 kB / 419.2 MB, free: 20.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.6867, allocations: 2.502 MB / 421.7 MB, free: 18.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.6869, allocations: 61.7 kB / 421.8 MB, free: 18.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009878/0.6879, allocations: 1.618 MB / 423.4 MB, free: 16.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004836/0.6884, allocations: 0.7347 MB / 424.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006193/0.689, allocations: 412.4 kB / 424.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.6891, allocations: 301.1 kB / 424.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.6908, allocations: 1.305 MB / 426.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.6926, allocations: 1.782 MB / 427.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.6961, allocations: 3.211 MB / 431.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.6962, allocations: 8 kB / 431.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006337/0.7025, allocations: 4.081 MB / 435.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.7026, allocations: 12 kB / 435.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.7026, allocations: 12 kB / 435.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.7052, allocations: 0.8767 MB / 436.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.707, allocations: 0.5266 MB / 436.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009888/0.7169, allocations: 8.737 MB / 445.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.7203, allocations: 115.8 kB / 445.5 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/0.7208, allocations: 88 kB / 445.6 MB, free: 9.504 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.004076/0.7249, allocations: 1.215 MB / 446.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/0.7261, allocations: 276.7 kB / 447 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/0.7335, allocations: 3.715 MB / 450.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/0.7336, allocations: 24.08 kB / 450.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.7336, allocations: 8.656 kB / 450.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.7337, allocations: 15.89 kB / 450.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.7502, allocations: 8.091 MB / 458.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7503, allocations: 8.031 kB / 458.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.7519, allocations: 390.2 kB / 459.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/0.755, allocations: 0.9213 MB / 460.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.7552, allocations: 59.97 kB / 460.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.7663, allocations: 10.19 MB / 470.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7664, allocations: 0 / 470.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009464/0.7759, allocations: 5.508 MB / 476 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/0.778, allocations: 0.6343 MB / 476.6 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.7784, allocations: 47.98 kB / 476.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.7798, allocations: 115.9 kB / 476.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.7804, allocations: 185.7 kB / 476.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.7805, allocations: 59.98 kB / 477 MB, free: 9.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00268/0.7832, allocations: 1.731 MB / 478.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7832, allocations: 0 / 478.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002758/0.786, allocations: 0.7955 MB / 479.5 MB, free: 6.809 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.0006512/0.7866, allocations: 233.4 kB / 479.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006287/0.7929, allocations: 3.885 MB / 483.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.793, allocations: 192 / 483.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003937/0.7969, allocations: 2.472 MB / 486.1 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/0.8008, allocations: 0.7522 MB / 486.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.8179, allocations: 9.349 MB / 496.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/0.8209, allocations: 2.773 MB / 499 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002834/0.8237, allocations: 0.6788 MB / 499.7 MB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006602/0.8244, allocations: 175.4 kB / 499.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of SimCode: time 1.994e-06/0.8244, allocations: 0 / 499.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of Templates: time 0.3409/1.165, allocations: 44.55 MB / 0.5316 GB, free: 115.4 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches