Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006989/0.006994, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.55/3.55, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006464/0.0006468, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1976, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.02266/0.2204, allocations: 7.813 MB / 382.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.2342, allocations: 2.972 MB / 385.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.2369, allocations: 31.88 kB / 385.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.2411, allocations: 0.5208 MB / 385.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.2471, allocations: 0.6543 MB / 386.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.2495, allocations: 243.7 kB / 386.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006937/0.2565, allocations: 1.607 MB / 388.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004655/0.2613, allocations: 1.197 MB / 389.6 MB, free: 320 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4142/0.6755, allocations: 0.7551 MB / 390.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/0.68, allocations: 0.9504 MB / 391.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.6817, allocations: 121.1 kB / 391.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.6843, allocations: 189 kB / 391.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002653/0.6871, allocations: 0.56 MB / 392.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.6895, allocations: 461.5 kB / 392.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009868/0.6995, allocations: 2.866 MB / 395.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6995, allocations: 0 / 395.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.439e-06/0.6996, allocations: 0 / 395.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001859/0.6998, allocations: 0 / 395.5 MB, free: 10.07 MB / 282.7 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.01312/0.7129, allocations: 2.192 MB / 397.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.713, allocations: 10.09 kB / 397.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.7159, allocations: 269.7 kB / 397.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/0.7229, allocations: 1.225 MB / 399.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.7233, allocations: 143 kB / 399.3 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.7248, allocations: 190.4 kB / 399.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.7399, allocations: 2.391 MB / 401.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000242/0.7402, allocations: 15.36 kB / 401.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/0.7413, allocations: 75.64 kB / 402 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003455/0.7417, allocations: 91.31 kB / 402 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.7536, allocations: 1.954 MB / 404 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03639/0.7901, allocations: 7.846 MB / 411.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.7949, allocations: 1.227 MB / 413.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.7955, allocations: 117.4 kB / 413.2 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/0.7956, allocations: 51.53 kB / 413.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 6.312e-06/0.7956, allocations: 0 / 413.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.03777/0.8334, allocations: 5.892 MB / 419.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.8336, allocations: 64.41 kB / 419.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/0.8391, allocations: 1.255 MB / 420.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004657/0.8397, allocations: 45.7 kB / 420.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.8413, allocations: 0.8845 MB / 421.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.8424, allocations: 389.8 kB / 421.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.8427, allocations: 28 kB / 421.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000299/0.843, allocations: 362.8 kB / 422.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/0.8464, allocations: 0.6364 MB / 422.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/0.8504, allocations: 0.9922 MB / 423.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.8544, allocations: 0.7862 MB / 424.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.8545, allocations: 6.406 kB / 424.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.01184/0.8664, allocations: 2.134 MB / 426.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.8665, allocations: 15.95 kB / 426.7 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-05/0.8666, allocations: 12 kB / 426.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/0.8705, allocations: 492.2 kB / 427.2 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.8745, allocations: 303.6 kB / 427.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.8938, allocations: 6.608 MB / 434.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/0.8973, allocations: 87.92 kB / 434.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00064/0.898, allocations: 56 kB / 434.2 MB, free: 14.84 MB / 314.7 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.003655/0.9017, allocations: 0.6066 MB / 434.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/0.9027, allocations: 146.2 kB / 435 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.9141, allocations: 1.953 MB / 437 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/0.9142, allocations: 12 kB / 437 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-05/0.9143, allocations: 4 kB / 437 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.626e-05/0.9143, allocations: 7.969 kB / 437 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/0.9372, allocations: 4.064 MB / 441 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/0.9373, allocations: 288 / 441 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/0.9402, allocations: 183.8 kB / 441.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004678/0.945, allocations: 0.5355 MB / 441.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/0.9455, allocations: 27.98 kB / 441.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02799/0.9735, allocations: 8.12 MB / 449.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.9736, allocations: 2.953 kB / 449.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.9878, allocations: 2.968 MB / 452.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/0.9901, allocations: 351.1 kB / 453.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009315/0.9911, allocations: 28 kB / 453.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/0.9941, allocations: 71.92 kB / 453.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00091/0.9951, allocations: 88.97 kB / 453.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/0.9954, allocations: 31.92 kB / 453.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00392/0.9993, allocations: 0.8452 MB / 454.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.344e-06/0.9994, allocations: 0 / 454.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004932/1.004, allocations: 448 kB / 454.7 MB, free: 9.609 MB / 330.7 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.0009371/1.005, allocations: 143.8 kB / 454.9 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.015, allocations: 2.224 MB / 457.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/1.016, allocations: 4 kB / 457.1 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007003/1.023, allocations: 1.503 MB / 458.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005867/1.029, allocations: 384.4 kB / 459 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.051, allocations: 4.963 MB / 463.9 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/1.056, allocations: 1.673 MB / 465.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.058, allocations: 103.4 kB / 465.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of SimCode: time 2.936e-06/1.058, allocations: 0 / 465.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Templates: time 0.2147/1.273, allocations: 66.47 MB / 0.5197 GB, free: 11.77 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches