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.001497/0.001498, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001303/0.001303, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.748/1.748, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001227/0.001227, allocations: 52.2 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1077, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01489/0.1226, allocations: 12.81 MB / 341.5 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.1321, allocations: 4.242 MB / 345.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.1349, allocations: 71.62 kB / 345.8 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.1377, allocations: 0.9626 MB / 346.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.1419, allocations: 1.177 MB / 348 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1436, allocations: 0.5228 MB / 348.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006169/0.1498, allocations: 4.688 MB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004369/0.1542, allocations: 3.598 MB / 356.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.1585, allocations: 2.117 MB / 358.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.1628, allocations: 2.553 MB / 361.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.1641, allocations: 0.5547 MB / 362 MB, free: 2.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.1658, allocations: 0.6522 MB / 362.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.1674, allocations: 1.512 MB / 364.2 MB, free: 100 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004042/0.1715, allocations: 2.485 MB / 366.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.1817, allocations: 7.415 MB / 374.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1818, allocations: 0 / 374.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1818, allocations: 0 / 374.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003924/0.1822, allocations: 0 / 374.1 MB, free: 6.164 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.01407/0.1963, allocations: 4.683 MB / 378.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1963, allocations: 12.03 kB / 378.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.1979, allocations: 0.4995 MB / 379.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2758/0.4737, allocations: 2.398 MB / 381.7 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.4742, allocations: 263.9 kB / 381.9 MB, free: 48.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/0.4761, allocations: 358.3 kB / 382.3 MB, free: 48.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.4886, allocations: 5.02 MB / 387.3 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.4887, allocations: 11.98 kB / 387.3 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/0.4892, allocations: 143.7 kB / 387.5 MB, free: 46.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/0.4895, allocations: 179.6 kB / 387.6 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.5007, allocations: 4.294 MB / 391.9 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.5367, allocations: 14.73 MB / 406.7 MB, free: 34.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/0.5412, allocations: 4.194 MB / 410.9 MB, free: 29.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/0.544, allocations: 1.988 MB / 412.8 MB, free: 27.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.5442, allocations: 138.7 kB / 413 MB, free: 27.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.5443, allocations: 60.56 kB / 413 MB, free: 27.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.847e-06/0.5443, allocations: 0.7656 kB / 413 MB, free: 27.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01884/0.5632, allocations: 10 MB / 423 MB, free: 17.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.5632, allocations: 73.41 kB / 423.1 MB, free: 17.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.5669, allocations: 2.513 MB / 425.6 MB, free: 15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.5672, allocations: 61.7 kB / 425.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.5682, allocations: 1.614 MB / 427.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005442/0.5688, allocations: 0.7339 MB / 428 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005898/0.5694, allocations: 420.2 kB / 428.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.5694, allocations: 305.1 kB / 428.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.5711, allocations: 1.305 MB / 430 MB, free: 10.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.573, allocations: 1.775 MB / 431.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/0.5766, allocations: 3.22 MB / 435 MB, free: 5.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.5766, allocations: 8 kB / 435 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006255/0.5828, allocations: 4.071 MB / 439.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.5829, allocations: 15.92 kB / 439.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.5829, allocations: 19.98 kB / 439.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.5855, allocations: 0.8814 MB / 440 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.5877, allocations: 0.5266 MB / 440.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.5999, allocations: 9.47 MB / 450 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/0.6037, allocations: 119.9 kB / 450.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/0.6042, allocations: 84 kB / 450.2 MB, free: 5.551 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.0034/0.6076, allocations: 1.219 MB / 451.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.6087, allocations: 276.7 kB / 451.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008012/0.6167, allocations: 3.726 MB / 455.4 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.6168, allocations: 23.94 kB / 455.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.6168, allocations: 8 kB / 455.5 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.6168, allocations: 7.969 kB / 455.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/0.6364, allocations: 8.019 MB / 463.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/0.6365, allocations: 4 kB / 463.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.6383, allocations: 387.8 kB / 463.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/0.6417, allocations: 0.9253 MB / 464.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.642, allocations: 51.98 kB / 464.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.6557, allocations: 11.06 MB / 475.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.6558, allocations: 11.88 kB / 475.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.666, allocations: 5.508 MB / 481.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/0.6685, allocations: 0.6304 MB / 482.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006638/0.6692, allocations: 59.92 kB / 482.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.6708, allocations: 112.1 kB / 482.2 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007293/0.6716, allocations: 185.7 kB / 482.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/0.6718, allocations: 67.92 kB / 482.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003498/0.6753, allocations: 1.731 MB / 484.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.6753, allocations: 0 / 484.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003564/0.6789, allocations: 0.7917 MB / 485 MB, free: 2.008 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.0006941/0.6796, allocations: 237.2 kB / 485.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007728/0.6873, allocations: 3.9 MB / 489.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.6874, allocations: 0 / 489.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004661/0.692, allocations: 2.476 MB / 491.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006644/0.6987, allocations: 0.7833 MB / 492.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/0.7228, allocations: 7.737 MB / 0.4884 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00605/0.729, allocations: 2.773 MB / 0.4911 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003118/0.7322, allocations: 0.6788 MB / 0.4918 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.7328, allocations: 179.4 kB / 0.492 GB, free: 15.03 MB / 398.1 MB Notification: Performance of SimCode: time 1.433e-06/0.7328, allocations: 0 / 0.492 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Templates: time 0.08338/0.8162, allocations: 43.73 MB / 0.5347 GB, free: 3.262 MB / 430.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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