Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001272, allocations: 96.08 kB / 17.3 MB, free: 6.391 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.00148/0.001481, allocations: 176.5 kB / 18.2 MB, free: 5.551 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.814/1.814, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005633/0.0005635, allocations: 8 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1293, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01278/0.1421, allocations: 9.054 MB / 338 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008476/0.1507, allocations: 3.02 MB / 341 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.153, allocations: 35.88 kB / 341.1 MB, free: 7.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.1558, allocations: 0.536 MB / 341.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.1606, allocations: 0.676 MB / 342.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.1626, allocations: 327.7 kB / 342.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.1679, allocations: 2.756 MB / 345.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003717/0.1717, allocations: 1.398 MB / 346.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.1743, allocations: 0.8362 MB / 347.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.1777, allocations: 1.136 MB / 348.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.1784, allocations: 124 kB / 348.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1796, allocations: 223.8 kB / 349.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006864/0.1803, allocations: 0.5956 MB / 349.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.1821, allocations: 1.098 MB / 350.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004326/0.1864, allocations: 3.406 MB / 354.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.1865, allocations: 0 / 354.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1865, allocations: 0 / 354.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001447/0.1867, allocations: 4 kB / 354.2 MB, free: 10.4 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00618/0.1928, allocations: 2.182 MB / 356.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.1929, allocations: 12.03 kB / 356.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.1943, allocations: 262.1 kB / 356.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.1977, allocations: 1.264 MB / 357.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.1979, allocations: 140.2 kB / 358 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004835/0.1984, allocations: 196 kB / 358.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005975/0.2043, allocations: 2.419 MB / 360.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.557e-05/0.2045, allocations: 7.906 kB / 360.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/0.2047, allocations: 79.98 kB / 360.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.2048, allocations: 91.67 kB / 360.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004449/0.2093, allocations: 1.966 MB / 362.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.2275, allocations: 7.898 MB / 370.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.23, allocations: 1.227 MB / 371.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.2321, allocations: 0.9566 MB / 372.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.2324, allocations: 122.1 kB / 373 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.2325, allocations: 47.5 kB / 373 MB, free: 7.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 4.168e-06/0.2325, allocations: 0 / 373 MB, free: 7.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01509/0.2476, allocations: 5.929 MB / 379 MB, free: 1.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.2477, allocations: 64.41 kB / 379 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2537/0.5014, allocations: 1.296 MB / 380.3 MB, free: 50.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.5017, allocations: 47.14 kB / 380.4 MB, free: 50.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/0.5025, allocations: 0.9173 MB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.5031, allocations: 390.1 kB / 381.7 MB, free: 50.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.5034, allocations: 116.5 kB / 381.8 MB, free: 50.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5035, allocations: 358.3 kB / 382.1 MB, free: 50.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.505, allocations: 0.643 MB / 382.8 MB, free: 50.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.5065, allocations: 1.008 MB / 383.8 MB, free: 49.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.5089, allocations: 1.741 MB / 385.5 MB, free: 48.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.5089, allocations: 4.156 kB / 385.5 MB, free: 48.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00472/0.5137, allocations: 2.25 MB / 387.8 MB, free: 47.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.5138, allocations: 17.67 kB / 387.8 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/0.5138, allocations: 10.78 kB / 387.8 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.5153, allocations: 0.49 MB / 388.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.5166, allocations: 299.2 kB / 388.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.5237, allocations: 6.535 MB / 395.1 MB, free: 42.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.5259, allocations: 82.52 kB / 395.2 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.5261, allocations: 60.59 kB / 395.3 MB, free: 42.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001401/0.5275, allocations: 0.5981 MB / 395.8 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.528, allocations: 147.6 kB / 396 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.5317, allocations: 1.981 MB / 398 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.5317, allocations: 9.844 kB / 398 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.5317, allocations: 5.844 kB / 398 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.5318, allocations: 7.094 kB / 398 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008067/0.5398, allocations: 4.138 MB / 402.1 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.5399, allocations: 5.625 kB / 402.1 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009107/0.5408, allocations: 181.5 kB / 402.3 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.5424, allocations: 0.5428 MB / 402.9 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.5426, allocations: 31.08 kB / 402.9 MB, free: 38.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00713/0.5497, allocations: 8.053 MB / 410.9 MB, free: 31.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5498, allocations: 8.016 kB / 411 MB, free: 31.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.5539, allocations: 2.858 MB / 413.8 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009753/0.5549, allocations: 351.2 kB / 414.2 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.5551, allocations: 35.92 kB / 414.2 MB, free: 28.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.556, allocations: 79.92 kB / 414.3 MB, free: 28.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.5562, allocations: 80.91 kB / 414.3 MB, free: 28.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.5563, allocations: 32 kB / 414.4 MB, free: 28.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.5576, allocations: 0.8878 MB / 415.3 MB, free: 27.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5576, allocations: 4 kB / 415.3 MB, free: 27.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002016/0.5596, allocations: 434.6 kB / 415.7 MB, free: 26.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,100.0%), (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.0005338/0.5602, allocations: 175 kB / 415.9 MB, free: 26.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003787/0.564, allocations: 2.24 MB / 418.1 MB, free: 24.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.564, allocations: 0 / 418.1 MB, free: 24.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002088/0.5661, allocations: 1.516 MB / 419.6 MB, free: 22.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.5688, allocations: 397.4 kB / 420 MB, free: 22.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/0.5762, allocations: 5.143 MB / 425.2 MB, free: 17.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.5773, allocations: 1.646 MB / 426.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.5786, allocations: 320.8 kB / 427.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.5789, allocations: 95.42 kB / 427.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5789, allocations: 0 / 427.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Templates: time 0.04557/0.6245, allocations: 22.49 MB / 449.7 MB, free: 8.52 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches