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.001677/0.001676, allocations: 100.5 kB / 18.35 MB, free: 4.648 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.002089/0.002089, allocations: 191 kB / 19.29 MB, free: 3.715 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.826/1.826, allocations: 205.1 MB / 225.2 MB, free: 12.3 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.001309/0.00131, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, 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_Steinmetz): time 0.01599/0.1678, allocations: 9.64 MB / 338.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.1783, allocations: 3.078 MB / 341.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.1809, allocations: 39.81 kB / 341.5 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.1834, allocations: 0.6209 MB / 342.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.1875, allocations: 0.7414 MB / 342.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1888, allocations: 375.4 kB / 343.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.1928, allocations: 2.452 MB / 345.7 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.1953, allocations: 1.731 MB / 347.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.1974, allocations: 1.067 MB / 348.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.1995, allocations: 1.315 MB / 349.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004223/0.1999, allocations: 280 kB / 350.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008048/0.2007, allocations: 371.8 kB / 350.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00083/0.2016, allocations: 0.7713 MB / 351.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.203, allocations: 1.276 MB / 352.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004017/0.207, allocations: 3.633 MB / 356.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2071, allocations: 0 / 356.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2071, allocations: 0 / 356.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.2072, allocations: 0 / 356.1 MB, free: 8.227 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.009768/0.217, allocations: 2.587 MB / 358.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.158e-05/0.2171, allocations: 12.03 kB / 358.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.2187, allocations: 266.1 kB / 359 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.223, allocations: 1.268 MB / 360.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.2231, allocations: 140.2 kB / 360.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/0.2236, allocations: 200 kB / 360.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007316/0.231, allocations: 2.422 MB / 363 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.658e-05/0.2311, allocations: 11.89 kB / 363 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.2314, allocations: 72 kB / 363.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/0.2315, allocations: 91.69 kB / 363.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005763/0.2373, allocations: 1.963 MB / 365.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/0.2628, allocations: 7.757 MB / 372.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.2661, allocations: 1.232 MB / 374.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.2692, allocations: 0.94 MB / 375.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/0.2697, allocations: 118.1 kB / 375.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.654e-05/0.2698, allocations: 51.5 kB / 375.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 4.488e-06/0.2698, allocations: 0 / 375.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.2778/0.5476, allocations: 5.857 MB / 381.1 MB, free: 51.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5477, allocations: 67.48 kB / 381.1 MB, free: 51.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.5505, allocations: 1.302 MB / 382.4 MB, free: 51.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.5508, allocations: 46.05 kB / 382.5 MB, free: 51.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000761/0.5515, allocations: 0.9183 MB / 383.4 MB, free: 50.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.5519, allocations: 392.6 kB / 383.8 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/0.5524, allocations: 246.3 kB / 384 MB, free: 50.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5525, allocations: 362.6 kB / 384.4 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.5537, allocations: 0.638 MB / 385 MB, free: 49.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.555, allocations: 0.9992 MB / 386 MB, free: 49.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.5576, allocations: 1.733 MB / 387.8 MB, free: 48.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.5577, allocations: 3.531 kB / 387.8 MB, free: 48.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004766/0.5624, allocations: 2.249 MB / 390 MB, free: 47.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.5625, allocations: 10.34 kB / 390 MB, free: 47.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.5626, allocations: 11.23 kB / 390 MB, free: 47.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.5641, allocations: 494 kB / 390.5 MB, free: 47.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.5655, allocations: 300 kB / 390.8 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/0.5734, allocations: 7.144 MB / 397.9 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.5753, allocations: 80.77 kB / 398 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.5755, allocations: 58.45 kB / 398.1 MB, free: 41.45 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.001654/0.5771, allocations: 0.6087 MB / 398.7 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/0.5777, allocations: 149.8 kB / 398.8 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.5816, allocations: 1.965 MB / 400.8 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5816, allocations: 11.81 kB / 400.8 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5816, allocations: 3.969 kB / 400.8 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.5817, allocations: 7.125 kB / 400.8 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00742/0.5891, allocations: 4.122 MB / 404.9 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.5892, allocations: 2.156 kB / 404.9 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008335/0.59, allocations: 180.8 kB / 405.1 MB, free: 37.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.5914, allocations: 0.5429 MB / 405.7 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/0.5915, allocations: 31.59 kB / 405.7 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007945/0.5995, allocations: 8.749 MB / 414.4 MB, free: 28.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5996, allocations: 4 kB / 414.5 MB, free: 28.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/0.6047, allocations: 2.855 MB / 417.3 MB, free: 25.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.6064, allocations: 355.3 kB / 417.7 MB, free: 25.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007019/0.6071, allocations: 28 kB / 417.7 MB, free: 25.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6082, allocations: 64.8 kB / 417.7 MB, free: 25.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.6085, allocations: 96.84 kB / 417.8 MB, free: 25.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.6086, allocations: 31.98 kB / 417.9 MB, free: 25.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.6102, allocations: 0.8917 MB / 418.8 MB, free: 24.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6102, allocations: 0 / 418.8 MB, free: 24.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002365/0.6125, allocations: 438.6 kB / 419.2 MB, free: 23.92 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.0005114/0.6131, allocations: 184.2 kB / 419.4 MB, free: 23.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.6161, allocations: 2.227 MB / 421.6 MB, free: 21.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6161, allocations: 0 / 421.6 MB, free: 21.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.6183, allocations: 1.509 MB / 423.1 MB, free: 19.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.6202, allocations: 409.1 kB / 423.5 MB, free: 19.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.627, allocations: 4.112 MB / 427.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.628, allocations: 1.654 MB / 429.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009336/0.629, allocations: 320.4 kB / 429.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.6292, allocations: 107.4 kB / 429.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6292, allocations: 0 / 429.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of Templates: time 0.04/0.6693, allocations: 23.71 MB / 453.4 MB, free: 5.5 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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