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.0009926/0.0009923, allocations: 96.3 kB / 16.94 MB, free: 6.445 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.001263/0.001264, allocations: 184.4 kB / 17.83 MB, free: 6.012 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.855/1.855, allocations: 205.4 MB / 224 MB, free: 13.18 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.000526/0.0005262, allocations: 12 kB / 280.8 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.009695/0.139, allocations: 7.802 MB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006803/0.1459, allocations: 2.983 MB / 339.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.1477, allocations: 39.81 kB / 339.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.1498, allocations: 0.513 MB / 339.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.1526, allocations: 0.6543 MB / 340.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1538, allocations: 239.7 kB / 340.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.1576, allocations: 1.611 MB / 342.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.1603, allocations: 1.2 MB / 343.4 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.162, allocations: 0.759 MB / 344.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.1639, allocations: 0.9493 MB / 345.1 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005631/0.1645, allocations: 120 kB / 345.2 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009207/0.1654, allocations: 187.9 kB / 345.4 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007214/0.1662, allocations: 0.5569 MB / 345.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.1669, allocations: 464.5 kB / 346.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.1702, allocations: 2.867 MB / 349.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1702, allocations: 4 kB / 349.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1702, allocations: 0 / 349.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001111/0.1703, allocations: 0 / 349.3 MB, free: 15.07 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.005331/0.1757, allocations: 2.19 MB / 351.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1757, allocations: 11.97 kB / 351.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.1767, allocations: 265.1 kB / 351.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.1793, allocations: 1.224 MB / 352.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.1795, allocations: 143.8 kB / 353.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/0.1798, allocations: 187.9 kB / 353.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005538/0.1854, allocations: 2.395 MB / 355.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.787e-05/0.1855, allocations: 4 kB / 355.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.1857, allocations: 83.92 kB / 355.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.1859, allocations: 95.67 kB / 355.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.1896, allocations: 1.951 MB / 357.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.2027, allocations: 7.848 MB / 365.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.2044, allocations: 1.219 MB / 366.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.2047, allocations: 122.1 kB / 367 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2047, allocations: 47.52 kB / 367 MB, free: 12.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.045e-06/0.2047, allocations: 0 / 367 MB, free: 12.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01342/0.2182, allocations: 5.898 MB / 372.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.2183, allocations: 64.41 kB / 373 MB, free: 6.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.2202, allocations: 1.251 MB / 374.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.2203, allocations: 45.7 kB / 374.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007454/0.2211, allocations: 0.916 MB / 375.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.2215, allocations: 386.4 kB / 375.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2216, allocations: 36 kB / 375.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2218, allocations: 357.9 kB / 376 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.2229, allocations: 0.6364 MB / 376.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.2241, allocations: 0.9925 MB / 377.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.2253, allocations: 0.7838 MB / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.2253, allocations: 0 / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.2694/0.4948, allocations: 2.221 MB / 380.6 MB, free: 49.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.4948, allocations: 10.94 kB / 380.6 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/0.4949, allocations: 11 kB / 380.6 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.4964, allocations: 492.7 kB / 381.1 MB, free: 49.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.498, allocations: 300 kB / 381.4 MB, free: 49.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/0.5056, allocations: 6.603 MB / 388 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5072, allocations: 82.53 kB / 388.1 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.5073, allocations: 57.22 kB / 388.1 MB, free: 45.14 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 (idealCloser.control,idealOpener.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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.5088, allocations: 0.606 MB / 388.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006465/0.5094, allocations: 147.3 kB / 388.9 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.5137, allocations: 1.95 MB / 390.8 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.5138, allocations: 14.92 kB / 390.8 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.5138, allocations: 3.75 kB / 390.8 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.5138, allocations: 14.66 kB / 390.9 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008061/0.5219, allocations: 4.054 MB / 394.9 MB, free: 42.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.522, allocations: 3.969 kB / 394.9 MB, free: 42.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.5227, allocations: 181.5 kB / 395.1 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.5243, allocations: 0.5404 MB / 395.6 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/0.5243, allocations: 33.8 kB / 395.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007199/0.5316, allocations: 8.129 MB / 403.8 MB, free: 35.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.5316, allocations: 3.938 kB / 403.8 MB, free: 35.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.5357, allocations: 2.969 MB / 406.8 MB, free: 33.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009587/0.5367, allocations: 346.2 kB / 407.1 MB, free: 33.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.5369, allocations: 25.06 kB / 407.1 MB, free: 33.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.5376, allocations: 73.23 kB / 407.2 MB, free: 33.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.5379, allocations: 91.86 kB / 407.3 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-05/0.538, allocations: 35.27 kB / 407.3 MB, free: 33.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001245/0.5393, allocations: 0.8537 MB / 408.2 MB, free: 33.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5393, allocations: 0 / 408.2 MB, free: 33.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00182/0.5411, allocations: 439.6 kB / 408.6 MB, free: 33.01 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003276/0.5414, allocations: 150.9 kB / 408.8 MB, free: 32.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.5444, allocations: 2.214 MB / 411 MB, free: 30.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5445, allocations: 0 / 411 MB, free: 30.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.5465, allocations: 1.503 MB / 412.5 MB, free: 29.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.5486, allocations: 390.6 kB / 412.9 MB, free: 28.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.5556, allocations: 4.906 MB / 417.8 MB, free: 23.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.5567, allocations: 1.681 MB / 419.4 MB, free: 21.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.5579, allocations: 335.4 kB / 419.8 MB, free: 21.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.5582, allocations: 99.42 kB / 419.9 MB, free: 21.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.715e-06/0.5582, allocations: 4 kB / 419.9 MB, free: 21.54 MB / 318.1 MB Notification: Performance of Templates: time 0.03805/0.5962, allocations: 21.44 MB / 441.3 MB, free: 96 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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